public class ClosingRepresentation extends WrapperRepresentation
UNKNOWN_SIZE
Constructor and Description |
---|
ClosingRepresentation(Representation wrappedRepresentation,
Socket socket,
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, write
createEmpty
createClientInfo, equals, includes, isCompatible, toString
public ClosingRepresentation(Representation wrappedRepresentation, Socket socket, Logger logger)
wrappedRepresentation
- The wrapped representation.socket
- The associated socket.logger
- The associated logger.public void release()
release
in class WrapperRepresentation
Copyright © 2005–2016. All rights reserved.