Class NHttpServerComponent
java.lang.Object
net.thevpc.nserver.http.NHttpServerComponent
- All Implemented Interfaces:
NServerComponent,NComponent,NScorable
Created by vpc on 1/7/17.
-
Field Summary
Fields inherited from interface net.thevpc.nuts.util.NScorable
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetScore(NScorableContext config) queryToMap(String query) returns the url parameters in a mapstart(ServerConfig config) static String
-
Constructor Details
-
NHttpServerComponent
public NHttpServerComponent()
-
-
Method Details
-
queryToMap
-
urlDecodeString
-
getScore
- Specified by:
getScorein interfaceNComponent- Specified by:
getScorein interfaceNScorable
-
start
- Specified by:
startin interfaceNServerComponent- Parameters:
config- server configuration- Returns:
- started server instance
-