Package com.opencloud.slee.rest.common
Interface RestResponse
-
@SleeEvent(id=@ComponentId(name="@response.event.name@",vendor="@component.vendor@",version="@component.version@")) public interface RestResponse
The standard SLEE events, corresponding to incoming REST responses, defined by the built-in REST API provided by a REST RA.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getContent()
int
getContentLength()
java.lang.String
getContentType()
java.lang.String
getHeader(java.lang.String name)
java.util.Iterator<java.lang.String>
getHeaderNames()
int
getStatusCode()
java.lang.String
getStatusReason()
com.opencloud.rhino.facilities.sas.Trail
getTrail()
boolean
isServerResponse()
void
removeHeader(java.lang.String name)
void
setContent(java.lang.String contentType, byte[] contentAsBytes)
void
setHeader(java.lang.String name, java.lang.String value)
-
-
-
Method Detail
-
getStatusCode
int getStatusCode()
-
getStatusReason
java.lang.String getStatusReason()
-
isServerResponse
boolean isServerResponse()
-
setContent
void setContent(java.lang.String contentType, byte[] contentAsBytes)
-
getContent
byte[] getContent()
-
getContentType
java.lang.String getContentType()
-
getHeader
java.lang.String getHeader(java.lang.String name)
-
getHeaderNames
java.util.Iterator<java.lang.String> getHeaderNames()
-
setHeader
void setHeader(java.lang.String name, java.lang.String value)
-
removeHeader
void removeHeader(java.lang.String name)
-
getContentLength
int getContentLength()
-
getTrail
com.opencloud.rhino.facilities.sas.Trail getTrail()
-
-