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