public class EchoHandler extends Object implements org.apache.http.protocol.HttpRequestHandler
| Constructor and Description |
|---|
EchoHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
Handles a request by echoing the incoming request entity.
|
public void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
handle in interface org.apache.http.protocol.HttpRequestHandlerrequest - the requestresponse - the responsecontext - the contextorg.apache.http.HttpException - in case of a problemIOException - in case of an IO problemCopyright © 2019. All rights reserved.