org.atmosphere.cpr
Class AtmosphereRequest.Builder
java.lang.Object
org.atmosphere.cpr.AtmosphereRequest.Builder
- Enclosing class:
- AtmosphereRequest
public static final class AtmosphereRequest.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereRequest.Builder
public AtmosphereRequest.Builder()
destroyable
public AtmosphereRequest.Builder destroyable(boolean destroyable)
headers
public AtmosphereRequest.Builder headers(Map<String,String> headers)
cookies
public AtmosphereRequest.Builder cookies(Set<javax.servlet.http.Cookie> cookies)
dispatchRequestAsynchronously
public AtmosphereRequest.Builder dispatchRequestAsynchronously(boolean dispatchRequestAsynchronously)
remoteAddr
public AtmosphereRequest.Builder remoteAddr(String remoteAddr)
remoteHost
public AtmosphereRequest.Builder remoteHost(String remoteHost)
remotePort
public AtmosphereRequest.Builder remotePort(int remotePort)
localAddr
public AtmosphereRequest.Builder localAddr(String localAddr)
localName
public AtmosphereRequest.Builder localName(String localName)
localPort
public AtmosphereRequest.Builder localPort(int localPort)
attributes
public AtmosphereRequest.Builder attributes(Map<String,Object> attributes)
request
public AtmosphereRequest.Builder request(javax.servlet.http.HttpServletRequest request)
servletPath
public AtmosphereRequest.Builder servletPath(String servletPath)
requestURI
public AtmosphereRequest.Builder requestURI(String requestURI)
requestURL
public AtmosphereRequest.Builder requestURL(String requestURL)
pathInfo
public AtmosphereRequest.Builder pathInfo(String pathInfo)
queryString
public AtmosphereRequest.Builder queryString(String queryString)
body
public AtmosphereRequest.Builder body(byte[] dataBytes,
int offset,
int length)
encoding
public AtmosphereRequest.Builder encoding(String encoding)
method
public AtmosphereRequest.Builder method(String methodType)
contentType
public AtmosphereRequest.Builder contentType(String contentType)
body
public AtmosphereRequest.Builder body(String data)
inputStream
public AtmosphereRequest.Builder inputStream(InputStream inputStream)
build
public AtmosphereRequest build()
queryStrings
public AtmosphereRequest.Builder queryStrings(Map<String,String[]> queryStrings)
contextPath
public AtmosphereRequest.Builder contextPath(String contextPath)
serverName
public AtmosphereRequest.Builder serverName(String serverName)
serverPort
public AtmosphereRequest.Builder serverPort(int serverPort)
session
public AtmosphereRequest.Builder session(javax.servlet.http.HttpSession session)
Copyright © 2012. All Rights Reserved.