Package org.somda.sdc.dpws.http.apache
Class CommunicationLogEntity
-
- All Implemented Interfaces:
-
org.apache.http.HttpEntity
public class CommunicationLogEntity extends HttpEntityWrapperEntity wrapper to enable CommunicationLog capabilities in the http client.
-
-
Field Summary
Fields Modifier and Type Field Description public InputStreamcontent
-
Constructor Summary
Constructors Constructor Description CommunicationLogEntity(HttpEntity wrappedEntity, OutputStream communicationLogStream)Creates a new entity wrapper.
-
Method Summary
Modifier and Type Method Description InputStreamgetContent()voidwriteTo(OutputStream outStream)booleanisRepeatable()-
Methods inherited from class org.apache.http.entity.HttpEntityWrapper
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isStreaming -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CommunicationLogEntity
CommunicationLogEntity(HttpEntity wrappedEntity, OutputStream communicationLogStream)
Creates a new entity wrapper.- Parameters:
wrappedEntity- the entity to wrap.communicationLogStream- the stream to also write the content to.
-
-
Method Detail
-
getContent
InputStream getContent()
-
writeTo
void writeTo(OutputStream outStream)
-
isRepeatable
boolean isRepeatable()
-
-
-
-