Class Request
java.lang.Object
org.apache.druid.java.util.http.client.Request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHeaderValues(com.google.common.collect.Multimap<String, String> inHeaders) addHeaderValues(String header, Iterable<String> value) copy()org.jboss.netty.buffer.ChannelBufferorg.jboss.netty.handler.codec.http.HttpMethodgetUrl()booleanstatic StringmakeBasicAuthenticationString(String username, String password) setBasicAuthentication(String username, String password) setContent(byte[] bytes) setContent(String contentType, byte[] bytes) setContent(String contentType, byte[] bytes, int offset, int length) setContent(String contentType, org.jboss.netty.buffer.ChannelBuffer content) setContent(org.jboss.netty.buffer.ChannelBuffer content)
-
Constructor Details
-
Request
-
-
Method Details
-
getMethod
public org.jboss.netty.handler.codec.http.HttpMethod getMethod() -
getUrl
-
getHeaders
-
hasContent
public boolean hasContent() -
getContent
public org.jboss.netty.buffer.ChannelBuffer getContent() -
copy
-
setHeader
-
addHeader
-
addHeaderValues
-
addHeaderValues
-
setContent
-
setContent
-
setContent
-
setContent
-
setContent
-
setBasicAuthentication
-
makeBasicAuthenticationString
-