public class DelayingHttpInvoker extends Object implements HttpInvoker
DELEGTAE_HTTP_INVOKER_CLASS.
The session parameter DELAY_TIME defines the delay in milliseconds.| Modifier and Type | Field and Description |
|---|---|
static String |
DELAY_TIME
Session parameter: Delay time in milliseconds.
|
protected static String |
DELEGTAE_HTTP_INVOKER |
static String |
DELEGTAE_HTTP_INVOKER_CLASS
Session parameter: class name of the HTTP Invoker doing the the real
work.
|
protected static String |
LAST_EXECUTION |
| Constructor and Description |
|---|
DelayingHttpInvoker() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
delay(BindingSession session) |
protected HttpInvoker |
getHttpInvoker(BindingSession session) |
Response |
invokeDELETE(UrlBuilder url,
BindingSession session)
Executes a HTTP DELETE request.
|
Response |
invokeGET(UrlBuilder url,
BindingSession session)
Executes a HTTP GET request.
|
Response |
invokeGET(UrlBuilder url,
BindingSession session,
BigInteger offset,
BigInteger length)
Executes a HTTP GET request.
|
Response |
invokePOST(UrlBuilder url,
String contentType,
Output writer,
BindingSession session)
Executes a HTTP POST request.
|
Response |
invokePUT(UrlBuilder url,
String contentType,
Map<String,String> headers,
Output writer,
BindingSession session)
Executes a HTTP PUT request.
|
public static final String DELEGTAE_HTTP_INVOKER_CLASS
DefaultHttpInvoker.)public static final String DELAY_TIME
protected static final String DELEGTAE_HTTP_INVOKER
protected static final String LAST_EXECUTION
public Response invokeGET(UrlBuilder url, BindingSession session)
HttpInvokerinvokeGET in interface HttpInvokerpublic Response invokeGET(UrlBuilder url, BindingSession session, BigInteger offset, BigInteger length)
HttpInvokerinvokeGET in interface HttpInvokerpublic Response invokePOST(UrlBuilder url, String contentType, Output writer, BindingSession session)
HttpInvokerinvokePOST in interface HttpInvokerpublic Response invokePUT(UrlBuilder url, String contentType, Map<String,String> headers, Output writer, BindingSession session)
HttpInvokerinvokePUT in interface HttpInvokerpublic Response invokeDELETE(UrlBuilder url, BindingSession session)
HttpInvokerinvokeDELETE in interface HttpInvokerprotected void delay(BindingSession session)
protected HttpInvoker getHttpInvoker(BindingSession session)
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.