NStringEntity
@Deprecated public class StringNIOEntity extends StringEntity implements HttpNIOEntity
HttpEntity
interface this class also implements NIO specific
HttpNIOEntity
.content
chunked, contentEncoding, contentType
Constructor and Description |
---|
StringNIOEntity(String s,
String charset)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ReadableByteChannel |
getChannel()
Deprecated.
|
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo
public StringNIOEntity(String s, String charset) throws UnsupportedEncodingException
UnsupportedEncodingException
public ReadableByteChannel getChannel() throws IOException
getChannel
in interface HttpNIOEntity
IOException
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.