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.Builderpublic AtmosphereRequestImpl.Builder headers(Map<String,String> headers)
headers in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder cookies(Set<javax.servlet.http.Cookie> cookies)
cookies in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder dispatchRequestAsynchronously(boolean dispatchRequestAsynchronously)
dispatchRequestAsynchronously in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder remoteAddr(String remoteAddr)
remoteAddr in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder remoteHost(String remoteHost)
remoteHost in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder remotePort(int remotePort)
remotePort in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder localAddr(String localAddr)
localAddr in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder localName(String localName)
localName in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder localPort(int localPort)
localPort in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder remoteInetSocketAddress(Callable remoteAddr)
remoteInetSocketAddress in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder localInetSocketAddress(Callable localAddr)
localInetSocketAddress in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder attributes(Map<String,Object> attributes)
attributes in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder request(javax.servlet.http.HttpServletRequest request)
request in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder servletPath(String servletPath)
servletPath in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder requestURI(String requestURI)
requestURI in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder requestURL(String requestURL)
requestURL in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder pathInfo(String pathInfo)
pathInfo in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder queryString(String queryString)
queryString in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder body(byte[] dataBytes)
body in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder body(byte[] dataBytes, int offset, int length)
body in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder encoding(String encoding)
encoding in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder method(String methodType)
method in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder contentType(String contentType)
contentType in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder contentLength(Long contentLength)
contentLength in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder body(String data)
body in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder inputStream(InputStream inputStream)
inputStream in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder reader(Reader reader)
reader in interface AtmosphereRequest.Builderpublic AtmosphereRequest build()
build in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder queryStrings(Map<String,String[]> queryStrings)
queryStrings in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder contextPath(String contextPath)
contextPath in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder serverName(String serverName)
serverName in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder serverPort(int serverPort)
serverPort in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder session(javax.servlet.http.HttpSession session)
session in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder principal(Principal principal)
principal in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder authType(String authType)
authType in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder isSSecure(boolean isSecure)
isSSecure in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder locale(Locale locale)
locale in interface AtmosphereRequest.Builderpublic AtmosphereRequestImpl.Builder userPrincipal(Principal userPrincipal)
userPrincipal in interface AtmosphereRequest.BuilderCopyright © 2016. All rights reserved.