| org.xins.server.CallingConvention org.xins.server.StandardCallingConvention
All known Subclasses: org.xins.server.XSLTCallingConvention,
StandardCallingConvention | public class StandardCallingConvention extends CallingConvention (Code) | | Standard calling convention. The technical name for this calling convention
is _xins-std.
version: $Revision: 1.64 $ $Date: 2007/09/18 08:45:07 $ author: Anthony Goubard author: Ernst de Haan |
RESPONSE_CONTENT_TYPE | final protected static String RESPONSE_CONTENT_TYPE(Code) | | The content type of the HTTP response.
|
RESPONSE_ENCODING | final protected static String RESPONSE_ENCODING(Code) | | The response encoding format.
|
convertResultImpl | protected void convertResultImpl(FunctionResult xinsResult, HttpServletResponse httpResponse, HttpServletRequest httpRequest) throws IOException(Code) | | Converts a XINS result to an HTTP response (implementation method).
Parameters: xinsResult - the XINS result object that should be converted to an HTTP response,will not be null . Parameters: httpResponse - the HTTP response object to configure, will not be null . Parameters: httpRequest - the HTTP request, will not be null . throws: IOException - if calling any of the methods in httpResponse causes anI/O error. |
matches | protected boolean matches(HttpServletRequest httpRequest)(Code) | | Checks if the specified request can be handled by this calling
convention.
This method will not throw any exception.
Parameters: httpRequest - the HTTP request to investigate, cannot be null .true if this calling convention is possiblyable to handle this request, or false if itdefinitely not able to handle this request. |
Methods inherited from org.xins.server.CallingConvention | static void cleanUpParameters(BasicPropertyReader parameters) throws IllegalArgumentException(Code)(Java Doc) final FunctionRequest convertRequest(HttpServletRequest httpRequest) throws IllegalStateException, IllegalArgumentException, InvalidRequestException, FunctionNotSpecifiedException(Code)(Java Doc) abstract protected FunctionRequest convertRequestImpl(HttpServletRequest httpRequest) throws InvalidRequestException, FunctionNotSpecifiedException(Code)(Java Doc) final void convertResult(FunctionResult xinsResult, HttpServletResponse httpResponse, HttpServletRequest httpRequest) throws IllegalStateException, IllegalArgumentException, IOException(Code)(Java Doc) abstract protected void convertResultImpl(FunctionResult xinsResult, HttpServletResponse httpResponse, HttpServletRequest httpRequest) throws IOException(Code)(Java Doc) BasicPropertyReader gatherParams(HttpServletRequest httpRequest) throws InvalidRequestException(Code)(Java Doc) final protected API getAPI()(Code)(Java Doc) final String getConventionName()(Code)(Java Doc) protected String[] getSupportedMethods()(Code)(Java Doc) protected String[] getSupportedMethods(HttpServletRequest request)(Code)(Java Doc) abstract protected boolean matches(HttpServletRequest httpRequest) throws Exception(Code)(Java Doc) final boolean matchesRequest(HttpServletRequest httpRequest)(Code)(Java Doc) protected Element parseXMLRequest(HttpServletRequest httpRequest) throws IllegalArgumentException, InvalidRequestException(Code)(Java Doc) protected Element parseXMLRequest(HttpServletRequest httpRequest, boolean checkType) throws IllegalArgumentException, InvalidRequestException(Code)(Java Doc) final void setAPI(API api)(Code)(Java Doc) final void setConventionName(String conventionName)(Code)(Java Doc)
|
|
|