public abstract class RequestDetails extends Object
| Constructor and Description |
|---|
RequestDetails() |
public RequestDetails()
public String getCompartmentName()
public String getCompleteUrl()
public String getFhirServerBase()
public String getOperation()
public Map<String,String[]> getParameters()
public String getRequestPath()
Will not contain a leading '/'
public RequestTypeEnum getRequestType()
public String getResourceName()
public RestOperationTypeEnum getRestOperationType()
public String getSecondaryOperation()
public abstract IRestfulServerDefaults getServer()
public Map<String,List<String>> getUnqualifiedToQualifiedNames()
public boolean isRespondGzip()
public void setCompartmentName(String theCompartmentName)
public void setCompleteUrl(String theCompleteUrl)
public void setFhirServerBase(String theFhirServerBase)
public void setOperation(String theOperation)
public void setParameters(Map<String,String[]> theParams)
public void setRequestPath(String theRequestPath)
public void setRequestType(RequestTypeEnum theRequestType)
public void setResourceName(String theResourceName)
public void setRespondGzip(boolean theRespondGzip)
public void setRestOperationType(RestOperationTypeEnum theRestOperationType)
public void setSecondaryOperation(String theSecondaryOperation)
public IRestfulResponse getResponse()
public void setResponse(IRestfulResponse theResponse)
public final byte[] loadRequestContents()
protected abstract byte[] getByteStreamRequestContents()
public abstract List<String> getHeaders(String name)
public abstract Reader getReader() throws IOException
BufferedReader. The reader translates the
character data according to the character encoding used on the body. Either this method or getInputStream()
may be called to read the body, not both.Reader containing the body of the requestUnsupportedEncodingException - if the character set encoding used is not supported and the text cannot be decodedIllegalStateException - if getInputStream() method has been called on this requestIOException - if an input or output exception occurredServletRequest.getInputStream()public abstract InputStream getInputStream() throws IOException
getReader() may be called to read
the body, not both.InputStream object containing the body of the requestIllegalStateException - if the getReader() method has already been called for this requestIOException - if an input or output exception occurredpublic abstract String getServerBaseForRequest()
Copyright © 2014–2016 University Health Network. All rights reserved.