Class DefaultHttpRequest
java.lang.Object
org.apache.dubbo.remoting.http12.message.DefaultHttpRequest
- All Implemented Interfaces:
HttpMetadata,HttpRequest,RequestMetadata
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.dubbo.remoting.http12.HttpRequest
HttpRequest.FileUpload -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept()<T> Tcharset()intcookies()dateHeader(CharSequence name) formParameter(String name) formParameterValues(String name) booleanhasAttribute(String name) booleanhasHeader(CharSequence name) booleanhasParameter(String name) header(CharSequence name) headers()headerValues(CharSequence name) booleanisHttp2()locale()locales()intmethod()parameterValues(String name) parts()path()query()queryParameter(String name) queryParameterValues(String name) rawPath()intvoidremoveAttribute(String name) scheme()intvoidsetAttribute(String name, Object value) voidsetCharset(String charset) voidsetContentType(String contentType) voidsetHeader(CharSequence name, String value) voidsetHeader(CharSequence name, Date value) voidsetHeader(CharSequence name, List<String> values) voidvoidvoidtoString()uri()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.remoting.http12.HttpMetadata
header
-
Constructor Details
-
DefaultHttpRequest
-
-
Method Details
-
getMetadata
-
isHttp2
public boolean isHttp2()- Specified by:
isHttp2in interfaceHttpRequest
-
method
- Specified by:
methodin interfaceHttpRequest- Specified by:
methodin interfaceRequestMetadata
-
setMethod
- Specified by:
setMethodin interfaceHttpRequest
-
uri
- Specified by:
uriin interfaceHttpRequest
-
setUri
- Specified by:
setUriin interfaceHttpRequest
-
path
- Specified by:
pathin interfaceHttpRequest- Specified by:
pathin interfaceRequestMetadata
-
rawPath
- Specified by:
rawPathin interfaceHttpRequest
-
query
- Specified by:
queryin interfaceHttpRequest
-
header
- Specified by:
headerin interfaceHttpMetadata- Specified by:
headerin interfaceHttpRequest
-
headerValues
- Specified by:
headerValuesin interfaceHttpRequest
-
dateHeader
- Specified by:
dateHeaderin interfaceHttpRequest
-
hasHeader
- Specified by:
hasHeaderin interfaceHttpRequest
-
headerNames
- Specified by:
headerNamesin interfaceHttpRequest
-
headers
- Specified by:
headersin interfaceHttpMetadata- Specified by:
headersin interfaceHttpRequest
-
setHeader
- Specified by:
setHeaderin interfaceHttpRequest
-
setHeader
- Specified by:
setHeaderin interfaceHttpRequest
-
setHeader
- Specified by:
setHeaderin interfaceHttpRequest
-
cookies
- Specified by:
cookiesin interfaceHttpRequest
-
cookie
- Specified by:
cookiein interfaceHttpRequest
-
contentLength
public int contentLength()- Specified by:
contentLengthin interfaceHttpRequest
-
contentType
- Specified by:
contentTypein interfaceHttpMetadata- Specified by:
contentTypein interfaceHttpRequest
-
setContentType
- Specified by:
setContentTypein interfaceHttpRequest
-
mediaType
- Specified by:
mediaTypein interfaceHttpRequest
-
charset
- Specified by:
charsetin interfaceHttpRequest
-
charsetOrDefault
- Specified by:
charsetOrDefaultin interfaceHttpRequest
-
setCharset
- Specified by:
setCharsetin interfaceHttpRequest
-
accept
- Specified by:
acceptin interfaceHttpRequest
-
locale
- Specified by:
localein interfaceHttpRequest
-
locales
- Specified by:
localesin interfaceHttpRequest
-
scheme
- Specified by:
schemein interfaceHttpRequest
-
serverHost
- Specified by:
serverHostin interfaceHttpRequest
-
serverName
- Specified by:
serverNamein interfaceHttpRequest
-
serverPort
public int serverPort()- Specified by:
serverPortin interfaceHttpRequest
-
remoteHost
- Specified by:
remoteHostin interfaceHttpRequest
-
remoteAddr
- Specified by:
remoteAddrin interfaceHttpRequest
-
remotePort
public int remotePort()- Specified by:
remotePortin interfaceHttpRequest
-
localHost
- Specified by:
localHostin interfaceHttpRequest
-
localAddr
- Specified by:
localAddrin interfaceHttpRequest
-
localPort
public int localPort()- Specified by:
localPortin interfaceHttpRequest
-
parameter
- Specified by:
parameterin interfaceHttpRequest
-
parameter
- Specified by:
parameterin interfaceHttpRequest
-
parameterValues
- Specified by:
parameterValuesin interfaceHttpRequest
-
queryParameter
- Specified by:
queryParameterin interfaceHttpRequest
-
queryParameterValues
- Specified by:
queryParameterValuesin interfaceHttpRequest
-
queryParameterNames
- Specified by:
queryParameterNamesin interfaceHttpRequest
-
queryParameters
- Specified by:
queryParametersin interfaceHttpRequest
-
formParameter
- Specified by:
formParameterin interfaceHttpRequest
-
formParameterValues
- Specified by:
formParameterValuesin interfaceHttpRequest
-
formParameterNames
- Specified by:
formParameterNamesin interfaceHttpRequest
-
hasParameter
- Specified by:
hasParameterin interfaceHttpRequest
-
parameterNames
- Specified by:
parameterNamesin interfaceHttpRequest
-
parts
- Specified by:
partsin interfaceHttpRequest
-
part
- Specified by:
partin interfaceHttpRequest
-
attribute
- Specified by:
attributein interfaceHttpRequest
-
removeAttribute
- Specified by:
removeAttributein interfaceHttpRequest
-
setAttribute
- Specified by:
setAttributein interfaceHttpRequest
-
hasAttribute
- Specified by:
hasAttributein interfaceHttpRequest
-
attributeNames
- Specified by:
attributeNamesin interfaceHttpRequest
-
attributes
- Specified by:
attributesin interfaceHttpRequest
-
inputStream
- Specified by:
inputStreamin interfaceHttpRequest
-
setInputStream
- Specified by:
setInputStreamin interfaceHttpRequest
-
toString
-