public static final class AtmosphereRequestImpl.Builder extends Object implements AtmosphereRequest.Builder
Modifier and Type | Field and Description |
---|---|
AtmosphereRequestImpl.Body |
body |
Constructor and Description |
---|
Builder() |
public AtmosphereRequestImpl.Body body
public AtmosphereRequestImpl.Builder destroyable(boolean destroyable)
destroyable
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder headers(Map<String,String> headers)
headers
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder cookies(Set<javax.servlet.http.Cookie> cookies)
cookies
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder dispatchRequestAsynchronously(boolean dispatchRequestAsynchronously)
dispatchRequestAsynchronously
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder remoteAddr(String remoteAddr)
remoteAddr
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder remoteHost(String remoteHost)
remoteHost
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder remotePort(int remotePort)
remotePort
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder localAddr(String localAddr)
localAddr
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder localName(String localName)
localName
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder localPort(int localPort)
localPort
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder remoteInetSocketAddress(Callable remoteAddr)
remoteInetSocketAddress
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder localInetSocketAddress(Callable localAddr)
localInetSocketAddress
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder attributes(Map<String,Object> attributes)
attributes
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder request(javax.servlet.http.HttpServletRequest request)
request
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder servletPath(String servletPath)
servletPath
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder requestURI(String requestURI)
requestURI
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder requestURL(String requestURL)
requestURL
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder pathInfo(String pathInfo)
pathInfo
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder queryString(String queryString)
queryString
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder body(byte[] dataBytes)
body
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder body(byte[] dataBytes, int offset, int length)
body
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder encoding(String encoding)
encoding
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder method(String methodType)
method
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder contentType(String contentType)
contentType
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder contentLength(Long contentLength)
contentLength
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder body(String data)
body
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder inputStream(InputStream inputStream)
inputStream
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder reader(Reader reader)
reader
in interface AtmosphereRequest.Builder
public AtmosphereRequest build()
build
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder queryStrings(Map<String,String[]> queryStrings)
queryStrings
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder contextPath(String contextPath)
contextPath
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder serverName(String serverName)
serverName
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder serverPort(int serverPort)
serverPort
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder session(javax.servlet.http.HttpSession session)
session
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder principal(Principal principal)
principal
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder authType(String authType)
authType
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder isSSecure(boolean isSecure)
isSSecure
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder locale(Locale locale)
locale
in interface AtmosphereRequest.Builder
public AtmosphereRequestImpl.Builder userPrincipal(Principal userPrincipal)
userPrincipal
in interface AtmosphereRequest.Builder
Copyright © 2016. All rights reserved.