Nuxeo Enterprise Platform 5.4

org.nuxeo.wss.fprpc
Class FPRPCRequest

java.lang.Object
  extended by org.nuxeo.wss.servlet.WSSRequest
      extended by org.nuxeo.wss.fprpc.FPRPCRequest

public class FPRPCRequest
extends WSSRequest

Wraps HttpServletRequest to provide FP-RPC specific parsing.

Author:
Thierry Delprat

Field Summary
static int FPRPC_CAML_REQUEST
           
static int FPRPC_GET_REQUEST
           
static int FPRPC_POST_REQUEST
           
 
Constructor Summary
FPRPCRequest(javax.servlet.http.HttpServletRequest httpRequest, java.lang.String sitePath)
           
 
Method Summary
 java.lang.String getBaseUrl(java.lang.String fpDir)
           
 java.util.List<FPRPCCall> getCalls()
           
 int getRequestMode()
           
 java.io.InputStream getVermeerBinary()
           
 java.lang.String getVersion()
           
 
Methods inherited from class org.nuxeo.wss.servlet.WSSRequest
getBaseUrl, getHttpRequest, getResourcesUrl, getSitePath, getUserName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FPRPC_GET_REQUEST

public static final int FPRPC_GET_REQUEST
See Also:
Constant Field Values

FPRPC_POST_REQUEST

public static final int FPRPC_POST_REQUEST
See Also:
Constant Field Values

FPRPC_CAML_REQUEST

public static final int FPRPC_CAML_REQUEST
See Also:
Constant Field Values
Constructor Detail

FPRPCRequest

public FPRPCRequest(javax.servlet.http.HttpServletRequest httpRequest,
                    java.lang.String sitePath)
             throws MalformedFPRPCRequest
Throws:
MalformedFPRPCRequest
Method Detail

getCalls

public java.util.List<FPRPCCall> getCalls()

getRequestMode

public int getRequestMode()

getVersion

public java.lang.String getVersion()

getVermeerBinary

public java.io.InputStream getVermeerBinary()

getBaseUrl

public java.lang.String getBaseUrl(java.lang.String fpDir)
Overrides:
getBaseUrl in class WSSRequest

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.