Class UsherUserRequest
- java.lang.Object
-
- com.microstrategy.web.app.utils.usher.NetworkRequest
-
- com.microstrategy.web.app.utils.usher.UsherUserRequest
-
- All Implemented Interfaces:
EnumUsherRequest
public class UsherUserRequest extends NetworkRequest
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.utils.usher.NetworkRequest
FORMAT_JSON, FORMAT_XML, HTTP_USHER_HEADER_ERROR, isPost, jsonDataParam, requestParams, requestProps, responseHeaderFields
-
Fields inherited from interface com.microstrategy.web.app.utils.usher.EnumUsherRequest
BAD_CONFIG, CUSTOMER_USHER_APP_ID, GENERIC_ERROR_CODE_FOR_USHER_AUTH, HANDLE_INPUT_STREAM, HANDLE_STRING, INVALID_RESPONSE_FROM_USHER, INVALID_TOKEN, ORG_ID, SESSION_ID, TIME_TO_LIVE, USER_ALREADY_EXISTS, USHER_ACCESS_TOKEN
-
-
Constructor Summary
Constructors Constructor Description UsherUserRequest(RequestKeys incomingKeys, UsherSessionHelper session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddBody(java.io.OutputStream out)protected voidaddRequestParameters()protected voidaddRequestProperties()java.lang.StringexecuteStringContentType()java.util.List<com.microstrategy.web.app.utils.usher.UsherUserRequest.UsherRegisteredUserInfo>getRegisteredUsers()protected voidhandleResponse(java.io.InputStream imageStream, java.lang.String contentType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)protected voidhandleResponse(java.lang.String result)-
Methods inherited from class com.microstrategy.web.app.utils.usher.NetworkRequest
addJsonDataParam, buildURL, getCookieFromResponseHeader, getErrorDetails, getJsonStringIfExists, getResponseFromRequest, handleErrorCodes, makePath, setResponseFromRequest
-
-
-
-
Constructor Detail
-
UsherUserRequest
public UsherUserRequest(RequestKeys incomingKeys, UsherSessionHelper session) throws WebObjectsException
- Throws:
WebObjectsException
-
-
Method Detail
-
getRegisteredUsers
public java.util.List<com.microstrategy.web.app.utils.usher.UsherUserRequest.UsherRegisteredUserInfo> getRegisteredUsers()
-
executeStringContentType
public java.lang.String executeStringContentType() throws TaskException- Overrides:
executeStringContentTypein classNetworkRequest- Returns:
- Throws:
TaskInternalExceptionTaskException
-
handleResponse
protected void handleResponse(java.lang.String result) throws TaskException- Specified by:
handleResponsein classNetworkRequest- Throws:
TaskException
-
handleResponse
protected void handleResponse(java.io.InputStream imageStream, java.lang.String contentType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) throws TaskException- Specified by:
handleResponsein classNetworkRequest- Throws:
TaskException
-
addRequestProperties
protected void addRequestProperties() throws TaskException- Specified by:
addRequestPropertiesin classNetworkRequest- Throws:
TaskException
-
addRequestParameters
protected void addRequestParameters() throws TaskException- Specified by:
addRequestParametersin classNetworkRequest- Throws:
TaskException
-
addBody
protected void addBody(java.io.OutputStream out) throws TaskException- Overrides:
addBodyin classNetworkRequest- Throws:
TaskException
-
-