Package org.hcjf.io.net.http
Class EnumContext
- java.lang.Object
-
- org.hcjf.io.net.http.Context
-
- org.hcjf.io.net.http.EnumContext
-
public class EnumContext extends Context
This kind of context publish the enums of the system.- Author:
- javaito
-
-
Field Summary
-
Fields inherited from class org.hcjf.io.net.http.Context
END_CONTEXT, START_CONTEXT, URI_FOLDER_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description EnumContext(java.lang.String name)
-
Method Summary
Modifier and Type Method Description HttpResponseonContext(HttpRequest request)This method is called when there comes a http package addressed to this context.-
Methods inherited from class org.hcjf.io.net.http.Context
addDefaultResponseHeaders, createDefaultErrorResponse, getContextRegex, getPattern, getTimeout, onError, setTimeout
-
-
-
-
Method Detail
-
onContext
public HttpResponse onContext(HttpRequest request)
Description copied from class:ContextThis method is called when there comes a http package addressed to this context.
-
-