|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.ServiceResponse
public class ServiceResponse
Represents a response from the Content Server
Nested Class Summary | |
---|---|
static class |
ServiceResponse.ResponseType |
Constructor Summary | |
---|---|
ServiceResponse(DataFactory dataFactory, String encoding, Map<String,String> headers, InputStream inputStream, ServiceResponse.ResponseType type) |
Method Summary | |
---|---|
void |
close() Close this response. |
String |
getHeader(String name) Retrieve the header by name |
Collection<String> |
getHeaderNames() |
DataBinder |
getResponseAsBinder() Convert the response stream to a data binder |
DataBinder |
getResponseAsBinder(boolean checkErrors) Convert the response stream to a data binder |
String |
getResponseAsString() |
InputStream |
getResponseStream() |
ServiceResponse.ResponseType |
getResponseType() |
boolean |
isReleased() |
void |
setCloseMethod(CloseNotifyInputStream.CloseMethod closeMethod) Set the method to call upon closure of the stream |
void |
setResponseStream(InputStream inputStream) |
void |
setServiceLog(ServiceLog serviceLog) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceResponse(DataFactory dataFactory, String encoding, Map<String,String> headers, InputStream inputStream, ServiceResponse.ResponseType type)
Method Detail |
---|
public void setServiceLog(ServiceLog serviceLog)
public void setCloseMethod(CloseNotifyInputStream.CloseMethod closeMethod)
closeMethod
- the close methodpublic boolean isReleased()
public String getHeader(String name)
name
- the header namepublic Collection<String> getHeaderNames()
public DataBinder getResponseAsBinder() throws IdcClientException
IdcClientException
public DataBinder getResponseAsBinder(boolean checkErrors) throws IdcClientException
checkErrors
- true to examine the binder for errorsIdcClientException
public void setResponseStream(InputStream inputStream)
public InputStream getResponseStream()
public String getResponseAsString() throws IOException
IOException
public ServiceResponse.ResponseType getResponseType()
public void close()
getResponseStream()
object.
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |