public abstract class SockJsResponse extends Object
Constructor and Description |
---|
SockJsResponse() |
Modifier and Type | Method and Description |
---|---|
Integer |
cacheFor() |
void |
cacheFor(Integer cacheFor) |
void |
end() |
void |
end(String content) |
protected abstract void |
endResponse() |
boolean |
finished() |
protected abstract void |
flush() |
abstract String |
getHeader(String name) |
abstract void |
setHeader(String name,
String value) |
int |
statusCode() |
void |
statusCode(int statusCode) |
protected abstract void |
write(byte[] bytes) |
void |
write(String content) |
abstract void |
writeHead(int statusCode) |
public abstract void writeHead(int statusCode) throws SockJsException
SockJsException
protected abstract void endResponse() throws SockJsException
SockJsException
public Integer cacheFor()
public void cacheFor(Integer cacheFor)
public int statusCode()
public void statusCode(int statusCode)
public void write(String content) throws SockJsException
SockJsException
public void end() throws SockJsException
SockJsException
public void end(String content) throws SockJsException
SockJsException
public boolean finished()
Copyright © 2015. All rights reserved.