public class AtmosphereServerHttpExchange extends AbstractServerHttpExchange
ServerHttpExchange for Atmosphere 2.closeActions, endActions, errorActions| Constructor and Description |
|---|
AtmosphereServerHttpExchange(AtmosphereResource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doEnd() |
protected void |
doRead(Action<ByteBuffer> chunkAction) |
protected void |
doSetHeader(String name,
String value) |
protected void |
doSetStatus(HttpStatus status) |
protected void |
doWrite(ByteBuffer byteBuffer) |
Set<String> |
headerNames() |
List<String> |
headers(String name) |
HttpMethod |
method() |
<T> T |
unwrap(Class<T> clazz)
AtmosphereResource is available. |
String |
uri() |
public AtmosphereServerHttpExchange(AtmosphereResource resource)
public String uri()
public HttpMethod method()
protected void doRead(Action<ByteBuffer> chunkAction)
doRead in class AbstractServerHttpExchangeprotected void doSetStatus(HttpStatus status)
doSetStatus in class AbstractServerHttpExchangeprotected void doSetHeader(String name, String value)
doSetHeader in class AbstractServerHttpExchangeprotected void doWrite(ByteBuffer byteBuffer)
doWrite in class AbstractServerHttpExchangeprotected void doEnd()
doEnd in class AbstractServerHttpExchangepublic <T> T unwrap(Class<T> clazz)
AtmosphereResource is available.Copyright © 2015–2018. All rights reserved.