public class HttpUrlContinuation extends Object
Constructor and Description |
---|
HttpUrlContinuation(String workName,
String taskName,
Boolean isSecure)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
String |
getTaskName()
|
String |
getWorkName()
Obtains the name of the
Work to service the URL continuation. |
Boolean |
isSecure()
Indicates if the URL continuation requires a secure
ServerHttpConnection . |
static boolean |
reinstateRequest(String attributeKey,
ServerHttpConnection connection,
HttpRequestState requestState,
HttpSession session)
Reinstates the request.
|
static void |
saveRequest(String attributeKey,
ServerHttpConnection connection,
HttpRequestState requestState,
HttpSession session)
Saves the request state into the
HttpSession to allow being
reinstated later (possibly by a new ProcessState ). |
public static void saveRequest(String attributeKey, ServerHttpConnection connection, HttpRequestState requestState, HttpSession session) throws IOException
HttpSession
to allow being
reinstated later (possibly by a new ProcessState
).attributeKey
- Key to store the state with the HttpSession
.connection
- ServerHttpConnection
.requestState
- HttpRequestState
.session
- HttpSession
.IOException
- If fails to save the request state.public static boolean reinstateRequest(String attributeKey, ServerHttpConnection connection, HttpRequestState requestState, HttpSession session) throws IOException
attributeKey
- Key to the request state with the HttpSession
.connection
- ServerHttpConnection
.requestState
- HttpRequestState
.session
- HttpSession
.true
should the request be reinstated.
false
indicating the state could not be found within
the HttpSession
.IOException
- If fails to reinstate the request.public String getWorkName()
Work
to service the URL continuation.Work
name.public Boolean isSecure()
ServerHttpConnection
.true
should a secure ServerHttpConnection
be
required for the URL continuation. May return null
to service regardless.Copyright © 2005–2016. All rights reserved.