public class

IServerResponseImpl

extends Object
implements SimpleResponseWrapper
java.lang.Object
   ↳ com.microstrategy.webapi.restApi.IServerResponseImpl

Class Overview

IServer specific Response handling Only predefined headers would be parsed

Summary

Public Constructors
IServerResponseImpl()
Public Methods
String getBody()
returns response body as String
String getContentType()
returns content-type header value
Map<String, List<String>> getHeaders()
Returns filtered response headers
int getStatusCode()
Returns HTTP response status code
void setResponse(Response response)
populate response
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.webapi.restApi.SimpleResponseWrapper

Public Constructors

public IServerResponseImpl ()

Public Methods

public String getBody ()

returns response body as String

public String getContentType ()

returns content-type header value

public Map<String, List<String>> getHeaders ()

Returns filtered response headers

public int getStatusCode ()

Returns HTTP response status code

public void setResponse (Response response)

populate response

Throws
IOException

public String toString ()