Package org.atmosphere.cpr
Class AtmosphereRequestImpl.Builder
java.lang.Object
org.atmosphere.cpr.AtmosphereRequestImpl.Builder
- All Implemented Interfaces:
AtmosphereRequest.Builder
- Enclosing class:
AtmosphereRequestImpl
public static final class AtmosphereRequestImpl.Builder
extends Object
implements AtmosphereRequest.Builder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, Object> attributes) body(byte[] dataBytes) body(byte[] dataBytes, int offset, int length) build()contentLength(Long contentLength) contentType(String contentType) contextPath(String contextPath) destroyable(boolean destroyable) dispatchRequestAsynchronously(boolean dispatchRequestAsynchronously) inputStream(InputStream inputStream) isSSecure(boolean isSecure) localInetSocketAddress(Callable localAddr) localPort(int localPort) queryString(String queryString) queryStrings(Map<String, String[]> queryStrings) remoteAddr(String remoteAddr) remoteHost(String remoteHost) remoteInetSocketAddress(Callable remoteAddr) remotePort(int remotePort) request(javax.servlet.http.HttpServletRequest request) requestURI(String requestURI) requestURL(String requestURL) serverName(String serverName) serverPort(int serverPort) servletPath(String servletPath) session(javax.servlet.http.HttpSession session) userPrincipal(Principal userPrincipal)
-
Field Details
-
body
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destroyable
- Specified by:
destroyablein interfaceAtmosphereRequest.Builder
-
headers
- Specified by:
headersin interfaceAtmosphereRequest.Builder
-
cookies
- Specified by:
cookiesin interfaceAtmosphereRequest.Builder
-
dispatchRequestAsynchronously
public AtmosphereRequestImpl.Builder dispatchRequestAsynchronously(boolean dispatchRequestAsynchronously) - Specified by:
dispatchRequestAsynchronouslyin interfaceAtmosphereRequest.Builder
-
remoteAddr
- Specified by:
remoteAddrin interfaceAtmosphereRequest.Builder
-
remoteHost
- Specified by:
remoteHostin interfaceAtmosphereRequest.Builder
-
remotePort
- Specified by:
remotePortin interfaceAtmosphereRequest.Builder
-
localAddr
- Specified by:
localAddrin interfaceAtmosphereRequest.Builder
-
localName
- Specified by:
localNamein interfaceAtmosphereRequest.Builder
-
localPort
- Specified by:
localPortin interfaceAtmosphereRequest.Builder
-
remoteInetSocketAddress
- Specified by:
remoteInetSocketAddressin interfaceAtmosphereRequest.Builder
-
localInetSocketAddress
- Specified by:
localInetSocketAddressin interfaceAtmosphereRequest.Builder
-
attributes
- Specified by:
attributesin interfaceAtmosphereRequest.Builder
-
request
- Specified by:
requestin interfaceAtmosphereRequest.Builder
-
servletPath
- Specified by:
servletPathin interfaceAtmosphereRequest.Builder
-
requestURI
- Specified by:
requestURIin interfaceAtmosphereRequest.Builder
-
requestURL
- Specified by:
requestURLin interfaceAtmosphereRequest.Builder
-
pathInfo
- Specified by:
pathInfoin interfaceAtmosphereRequest.Builder
-
queryString
- Specified by:
queryStringin interfaceAtmosphereRequest.Builder
-
body
- Specified by:
bodyin interfaceAtmosphereRequest.Builder
-
body
- Specified by:
bodyin interfaceAtmosphereRequest.Builder
-
encoding
- Specified by:
encodingin interfaceAtmosphereRequest.Builder
-
method
- Specified by:
methodin interfaceAtmosphereRequest.Builder
-
contentType
- Specified by:
contentTypein interfaceAtmosphereRequest.Builder
-
contentLength
- Specified by:
contentLengthin interfaceAtmosphereRequest.Builder
-
body
- Specified by:
bodyin interfaceAtmosphereRequest.Builder
-
inputStream
- Specified by:
inputStreamin interfaceAtmosphereRequest.Builder
-
reader
- Specified by:
readerin interfaceAtmosphereRequest.Builder
-
build
- Specified by:
buildin interfaceAtmosphereRequest.Builder
-
queryStrings
- Specified by:
queryStringsin interfaceAtmosphereRequest.Builder
-
contextPath
- Specified by:
contextPathin interfaceAtmosphereRequest.Builder
-
serverName
- Specified by:
serverNamein interfaceAtmosphereRequest.Builder
-
serverPort
- Specified by:
serverPortin interfaceAtmosphereRequest.Builder
-
session
- Specified by:
sessionin interfaceAtmosphereRequest.Builder
-
principal
- Specified by:
principalin interfaceAtmosphereRequest.Builder
-
authType
- Specified by:
authTypein interfaceAtmosphereRequest.Builder
-
isSSecure
- Specified by:
isSSecurein interfaceAtmosphereRequest.Builder
-
locale
- Specified by:
localein interfaceAtmosphereRequest.Builder
-
userPrincipal
- Specified by:
userPrincipalin interfaceAtmosphereRequest.Builder
-