Uses of Class
org.hcjf.io.net.http.HttpResponse
-
Packages that use HttpResponse Package Description org.hcjf.io.net.http org.hcjf.io.net.http.layered org.hcjf.io.net.http.pipeline org.hcjf.io.net.http.proxy -
-
Uses of HttpResponse in org.hcjf.io.net.http
Methods in org.hcjf.io.net.http that return HttpResponse Modifier and Type Method Description static HttpResponseContext. addDefaultResponseHeaders(HttpResponse response, byte[] body)Utils method in order to add a default headers into the default response package.static HttpResponseContext. createDefaultErrorResponse(java.lang.Throwable throwable)Utils method in order to reuse the creation of error response package.abstract HttpResponseContext. onContext(HttpRequest request)This method is called when there comes a http package addressed to this context.HttpResponseEnumContext. onContext(HttpRequest request)HttpResponseFolderContext. onContext(HttpRequest request)This method is called when there comes a http package addressed to this context.HttpResponseRestContext. onContext(HttpRequest request)This method receive the http request and delegate each request for the different method depends of the http method and the request body.protected HttpResponseHttpServer. onContextNotFound(HttpRequest request)This method must create the response package when the context not found.protected HttpResponseContext. onError(HttpRequest request, java.lang.Throwable throwable)This method is called when there are any error on the context execution.protected HttpResponseRestContext. onError(HttpRequest request, java.lang.Throwable throwable)This method generate error response all the times that the request generates an throwable instance.protected HttpResponseHttpServer. onNotCheckedSession(HttpRequest request)This method must create the response package when the session check fail.protected HttpResponseHttpServer. onUnresponsiveContext(HttpRequest request)This method must create the response package when the context result is null.HttpResponseHttpClient. request()This method execute all the steps to do a http request.Methods in org.hcjf.io.net.http with parameters of type HttpResponse Modifier and Type Method Description static HttpResponseContext. addDefaultResponseHeaders(HttpResponse response, byte[] body)Utils method in order to add a default headers into the default response package.Constructors in org.hcjf.io.net.http with parameters of type HttpResponse Constructor Description HttpResponse(HttpResponse httpResponse) -
Uses of HttpResponse in org.hcjf.io.net.http.layered
Subclasses of HttpResponse in org.hcjf.io.net.http.layered Modifier and Type Class Description classLayeredResponseResponse package for the layered contexts.Methods in org.hcjf.io.net.http.layered that return HttpResponse Modifier and Type Method Description protected abstract HttpResponseLayeredContext. encode(R response, P request)This implementation must create a http response package from response layered package and request layered package.HttpResponseLayeredContext. onContext(HttpRequest request)This method is called when there comes a http package addressed to this context.protected HttpResponseLayeredContext. onError(HttpRequest request, java.lang.Throwable throwable)This method is called when there are any error on the context execution. -
Uses of HttpResponse in org.hcjf.io.net.http.pipeline
Subclasses of HttpResponse in org.hcjf.io.net.http.pipeline Modifier and Type Class Description classChunkedHttpPipelineResponseThis specific pipeline implements a chunked http transfer encoding.classHttpPipelineResponseThis class provides a way to create a pipeline between the http connection and the specific data source.classMultipartHttpPipelineResponse -
Uses of HttpResponse in org.hcjf.io.net.http.proxy
Methods in org.hcjf.io.net.http.proxy that return HttpResponse Modifier and Type Method Description abstract HttpResponseProxyTask. execute(HttpRequest request)This method execute the task.
-