public class ClosingRepresentation extends WrapperRepresentation
UNKNOWN_SIZE| Constructor and Description |
|---|
ClosingRepresentation(Representation wrappedRepresentation,
java.net.Socket socket,
java.util.logging.Logger logger)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
release()
Closes the socket if necessary.
|
checkDigest, checkDigest, computeDigest, exhaust, getAvailableSize, getChannel, getCharacterSet, getDigest, getDisposition, getDownloadName, getEncodings, getExpirationDate, getIdentifier, getLanguages, getLocationRef, getMediaType, getModificationDate, getRange, getReader, getSize, getStream, getTag, getText, getWrappedRepresentation, isAvailable, isDownloadable, isTransient, setAvailable, setCharacterSet, setDigest, setDisposition, setDownloadable, setDownloadName, setEncodings, setExpirationDate, setIdentifier, setIdentifier, setLanguages, setLocationRef, setLocationRef, setMediaType, setModificationDate, setRange, setSize, setTag, setTransient, write, write, writecreateEmptycreateClientInfo, equals, includes, isCompatible, toStringpublic ClosingRepresentation(Representation wrappedRepresentation, java.net.Socket socket, java.util.logging.Logger logger)
wrappedRepresentation - The wrapped representation.socket - The associated socket.logger - The associated logger.public void release()
release in class WrapperRepresentationCopyright © 2005-2012. All Rights Reserved.