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 |
request
public javax.servlet.http.HttpServletRequest request
pathInfo
public String pathInfo
dataBytes
public byte[] dataBytes
offset
public int offset
length
public int length
encoding
public String encoding
methodType
public String methodType
contentType
public String contentType
data
public String data
headers
public Map<String,String> headers
AtmosphereRequest.Builder
public AtmosphereRequest.Builder()
headers
public AtmosphereRequest.Builder headers(Map<String,String> headers)
request
public AtmosphereRequest.Builder request(javax.servlet.http.HttpServletRequest request)
pathInfo
public AtmosphereRequest.Builder pathInfo(String pathInfo)
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)
build
public AtmosphereRequest build()
Copyright © 2011. All Rights Reserved.