java.lang.Object | ||
org.apache.http.protocol.HttpService |
Minimalistic server-side implementation of an HTTP processor.
HttpService(HttpProcessor proc, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory) | ||||||
Create a new HTTP service. |
HttpParams | getParams() | |||||
void | handleRequest(HttpServerConnection conn, HttpContext context) | |||||
void | setConnReuseStrategy(ConnectionReuseStrategy connStrategy) | |||||
void | setExpectationVerifier(HttpExpectationVerifier expectationVerifier) | |||||
void | setHandlerResolver(HttpRequestHandlerResolver handlerResolver) | |||||
void | setHttpProcessor(HttpProcessor processor) | |||||
void | setParams(HttpParams params) | |||||
void | setResponseFactory(HttpResponseFactory responseFactory) |
void | doService(HttpRequest request, HttpResponse response, HttpContext context) | |||||
void | handleException(HttpException ex, HttpResponse response) |
proc | the processor to use on requests and responses |
---|---|
connStrategy | the connection reuse strategy |
responseFactory | the response factory |
IOException | |
---|---|
HttpException |
HttpException | |
---|---|
IOException |
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:56 |