public class RandomHandler extends Object implements org.apache.http.protocol.HttpRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
RandomHandler.RandomEntity
An entity that generates random data.
|
Constructor and Description |
---|
RandomHandler() |
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 generating random data.
|
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.HttpRequestHandler
request
- the requestresponse
- the responsecontext
- the contextorg.apache.http.HttpException
- in case of a problemIOException
- in case of an IO problemCopyright © 2019. All Rights Reserved.