Skip to content

MathieuPPicard/HttpServerFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HttpServerFrame

My attempt at creating a http server framework from scratch, with socket server on Java.

It will use my HttpBuilder to help with the creation of http message and formating it.

Http Documentation that I use to follow the protocol.

I will try to implement most of the specification but some details and usage case may be ignored.

ToDo

  • Default header
    • Default Request and response init(DefaultHeaders). [X]
    • Create DefaultChecker(analyse Default.Default if defaultInit() exist if yes run it). [X]
  • Http Request
    • Parsing []
      • Use HttpBuilder to create the Http Object and easily parse through the request []
    • Analyse(header,security) []
  • Http Response
    • TODO
  • Server
    • Basic of a threading server [X]
    • Handle removing client object from the list [X]
    • Using UUID to identify the client connection [X]

*Some todo put here will probably need to actually be done in my HttpBuilder.

Installation

Usage

Default header

If user need to set up a default Request header that will be reused to see if the incoming request respect a certain number of parameter in the Header.

If user need to set up a default Response header that will be reused to send in all of his response.

How

1- User need to create a public void defaultInit() function in Default.Default file.

2- Used the Default.DefaultHeaders function to create and customize the defaults Headers.(See doc of DefaultHeader for usage)

3- Server will automatically compare/use the different Header.

About

Http server framework with socket server on Java.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages