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 AbstractServerHttpExchange
protected void doSetStatus(HttpStatus status)
doSetStatus
in class AbstractServerHttpExchange
protected void doSetHeader(String name, String value)
doSetHeader
in class AbstractServerHttpExchange
protected void doWrite(ByteBuffer byteBuffer)
doWrite
in class AbstractServerHttpExchange
protected void doEnd()
doEnd
in class AbstractServerHttpExchange
public <T> T unwrap(Class<T> clazz)
AtmosphereResource
is available.Copyright © 2015–2019. All rights reserved.