Class AbstractEntityRequestType
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.rest.client.AbstractRequestType
- 
- org.eclipse.ecf.remoteservice.rest.client.AbstractEntityRequestType
 
 
- 
- All Implemented Interfaces:
- IRemoteCallableRequestType
 - Direct Known Subclasses:
- HttpPostRequestType,- HttpPutRequestType
 
 public abstract class AbstractEntityRequestType extends AbstractRequestType 
- 
- 
Field SummaryFields Modifier and Type Field Description static intBYTEARRAY_REQUEST_ENTITYstatic StringCHARSET_PARAM_NAMEstatic longCONTENT_LENGTH_AUTOstatic StringCONTENT_LENGTH_PARAM_NAMEstatic StringCONTENT_TYPE_PARAM_NAMEprotected StringdefaultCharsetprotected longdefaultContentLengthprotected StringdefaultContentTypestatic intFILE_REQUEST_ENTITYstatic intINPUT_STREAM_REQUEST_ENTITYstatic intNO_REQUEST_ENTITYprotected intrequestEntityTypestatic intSTRING_REQUEST_ENTITY- 
Fields inherited from class org.eclipse.ecf.remoteservice.rest.client.AbstractRequestTypedefaultRequestHeaders
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractEntityRequestType()AbstractEntityRequestType(int requestEntityType, String defaultContentType)AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength)AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength, String defaultCharset)AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength, String defaultCharset, Map defaultRequestHeaders)AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength, Map defaultRequestHeaders)AbstractEntityRequestType(int requestEntityType, String defaultContentType, Map defaultRequestHeaders)AbstractEntityRequestType(int requestEntityType, Map defaultRequestHeaders)AbstractEntityRequestType(Map defaultRequestHeaders)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.HttpEntitygenerateRequestEntity(String uri, IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault, Object paramToSerialize)protected StringgetCharset(IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault)protected longgetContentLength(IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault)protected StringgetContentType(IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault)booleanuseRequestEntity()- 
Methods inherited from class org.eclipse.ecf.remoteservice.rest.client.AbstractRequestTypegetDefaultRequestHeaders
 
- 
 
- 
- 
- 
Field Detail- 
NO_REQUEST_ENTITYpublic static final int NO_REQUEST_ENTITY - See Also:
- Constant Field Values
 
 - 
INPUT_STREAM_REQUEST_ENTITYpublic static final int INPUT_STREAM_REQUEST_ENTITY - See Also:
- Constant Field Values
 
 - 
STRING_REQUEST_ENTITYpublic static final int STRING_REQUEST_ENTITY - See Also:
- Constant Field Values
 
 - 
BYTEARRAY_REQUEST_ENTITYpublic static final int BYTEARRAY_REQUEST_ENTITY - See Also:
- Constant Field Values
 
 - 
FILE_REQUEST_ENTITYpublic static final int FILE_REQUEST_ENTITY - See Also:
- Constant Field Values
 
 - 
CONTENT_LENGTH_AUTOpublic static final long CONTENT_LENGTH_AUTO - See Also:
- Constant Field Values
 
 - 
CHARSET_PARAM_NAMEpublic static final String CHARSET_PARAM_NAME - See Also:
- Constant Field Values
 
 - 
CONTENT_TYPE_PARAM_NAMEpublic static final String CONTENT_TYPE_PARAM_NAME - See Also:
- Constant Field Values
 
 - 
CONTENT_LENGTH_PARAM_NAMEpublic static final String CONTENT_LENGTH_PARAM_NAME - See Also:
- Constant Field Values
 
 - 
requestEntityTypeprotected int requestEntityType 
 - 
defaultContentLengthprotected long defaultContentLength 
 - 
defaultContentTypeprotected String defaultContentType 
 - 
defaultCharsetprotected String defaultCharset 
 
- 
 - 
Constructor Detail- 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength, String defaultCharset, Map defaultRequestHeaders)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength, String defaultCharset)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength, Map defaultRequestHeaders)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, String defaultContentType, long defaultContentLength)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, String defaultContentType, Map defaultRequestHeaders)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, String defaultContentType)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(int requestEntityType, Map defaultRequestHeaders)
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType(Map defaultRequestHeaders) 
 - 
AbstractEntityRequestTypepublic AbstractEntityRequestType() 
 
- 
 - 
Method Detail- 
useRequestEntitypublic boolean useRequestEntity() 
 - 
generateRequestEntitypublic org.apache.http.HttpEntity generateRequestEntity(String uri, IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault, Object paramToSerialize) throws NotSerializableException - Throws:
- NotSerializableException
 
 - 
getCharsetprotected String getCharset(IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault) 
 - 
getContentLengthprotected long getContentLength(IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault) 
 - 
getContentTypeprotected String getContentType(IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault) 
 
- 
 
-