public class EchoHandler extends Object implements HttpRequestHandler
Constructor and Description |
---|
EchoHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(ClassicHttpRequest request,
ClassicHttpResponse response,
HttpContext context)
Handles a request by echoing the incoming request entity.
|
public void handle(ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context) throws HttpException, IOException
handle
in interface HttpRequestHandler
request
- the requestresponse
- the responsecontext
- the contextHttpException
- in case of a problemIOException
- in case of an IO problemCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.