|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.wrmf.transport.httptransport.HTTPPipeAdapter
wt.wrmf.transport.httptransport.GZIPHTTPPipe
Streams will be zipped (corresponding to GZIP algorithm)
through http transmission if using GZIPHTTPPipe.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static String |
tempBasePath
|
Fields inherited from class wt.wrmf.transport.httptransport.HTTPPipeAdapter |
RECONN_SUPPORTED, socketFact, VERBOSE |
Constructor Summary | |
GZIPHTTPPipe()
|
Method Summary | |
static void |
acceptHttpTransport(HTTPRequest request,
HTTPResponse response)
Supported API: false |
static void |
acceptHttpTransport(HTTPRequest request,
HTTPResponse response,
InputStream is)
Supported API: false |
static void |
acceptHttpTransWithResump(HTTPRequest request,
HTTPResponse response)
Supported API: false |
static void |
acceptHttpTransWithResump(HTTPRequest request,
HTTPResponse response,
InputStream is)
Supported API: false |
static void |
performPullIS(HTTPRequest request,
HTTPResponse response)
Supported API: false |
static void |
performPullWithResumption(HTTPRequest request,
HTTPResponse response)
Supported API: false |
InputStream |
pull(MethodInvocationDesc rmtDesc,
String fullUrl,
SiteAddress to,
MethodInvocationDesc pipeDesc)
Supported API: false |
InputStream |
push(InputStream is,
SiteAddress to,
MethodInvocationDesc pipeDesc,
long length)
Returns null if the resulting stream is not available for this type of transport pipe. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(GZIPHTTPPipe thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.wrmf.transport.httptransport.HTTPPipeAdapter |
initialize, modifyUrlIfNecessary, performPullInGeneral, performPushInGeneral, performPushInGeneral, preparePipeConnection, preparePipeExecution, pullInGeneral, pushInGeneral, readVersion, setRemotePrincipal, setSSLSocketFactoryOnDemand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static String tempBasePath
Constructor Detail |
public GZIPHTTPPipe()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class HTTPPipeAdapter
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class HTTPPipeAdapter
input
-
IOException
ClassNotFoundException
protected boolean readVersion(GZIPHTTPPipe thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static void performPullIS(HTTPRequest request, HTTPResponse response)
request
- response
- public static void performPullWithResumption(HTTPRequest request, HTTPResponse response)
request
- response
- public static void acceptHttpTransport(HTTPRequest request, HTTPResponse response, InputStream is)
request
- response
- is
- public static void acceptHttpTransport(HTTPRequest request, HTTPResponse response)
request
- response
- public static void acceptHttpTransWithResump(HTTPRequest request, HTTPResponse response, InputStream is)
request
- response
- is
- public static void acceptHttpTransWithResump(HTTPRequest request, HTTPResponse response)
request
- response
- public InputStream pull(MethodInvocationDesc rmtDesc, String fullUrl, SiteAddress to, MethodInvocationDesc pipeDesc) throws WTTransportException
Pipe
pull
in interface Pipe
rmtDesc
- fullUrl
- to
- pipeDesc
-
WTTransportException
public InputStream push(InputStream is, SiteAddress to, MethodInvocationDesc pipeDesc, long length) throws WTTransportException
Pipe
push
in interface Pipe
is
- to
- pipeDesc
- length
-
WTTransportException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |