public class UndertowResponse extends ActResponse<UndertowResponse>
charset, contentType, locale| Constructor and Description |
|---|
UndertowResponse(io.undertow.server.HttpServerExchange exchange,
AppConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<UndertowResponse> |
_impl() |
protected void |
_setLocale(java.util.Locale loc) |
void |
addCookie(org.osgl.http.H.Cookie cookie) |
UndertowResponse |
addHeader(java.lang.String name,
java.lang.String value) |
void |
closeStreamAndWriter() |
void |
commit() |
boolean |
containsHeader(java.lang.String name) |
UndertowResponse |
contentLength(long len) |
protected java.io.OutputStream |
createOutputStream() |
void |
freeResources() |
UndertowResponse |
header(java.lang.String name,
java.lang.String value) |
java.util.Locale |
locale() |
java.io.OutputStream |
outputStream() |
UndertowResponse |
status(int sc) |
UndertowResponse |
writeBinary(org.osgl.storage.ISObject binary) |
UndertowResponse |
writeContent(java.nio.ByteBuffer byteBuffer) |
UndertowResponse |
writeContent(java.lang.String s) |
_getContentType, _setContentType, afterWritingContent, beforeWritingContent, characterEncoding, characterEncoding, commitContentType, isClosed, markClosed, markReady, me, sendError, sendError, sendRedirectpublic UndertowResponse(io.undertow.server.HttpServerExchange exchange,
AppConfig config)
protected java.lang.Class<UndertowResponse> _impl()
_impl in class org.osgl.http.H.Response<UndertowResponse>public void addCookie(org.osgl.http.H.Cookie cookie)
addCookie in class org.osgl.http.H.Response<UndertowResponse>public boolean containsHeader(java.lang.String name)
containsHeader in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse contentLength(long len)
contentLength in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse writeContent(java.lang.String s)
writeContent in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse writeContent(java.nio.ByteBuffer byteBuffer)
writeContent in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse writeBinary(org.osgl.storage.ISObject binary)
writeBinary in class org.osgl.http.H.Response<UndertowResponse>public java.io.OutputStream outputStream()
throws java.lang.IllegalStateException,
org.osgl.exception.UnexpectedIOException
outputStream in class org.osgl.http.H.Response<UndertowResponse>java.lang.IllegalStateExceptionorg.osgl.exception.UnexpectedIOExceptionprotected java.io.OutputStream createOutputStream()
createOutputStream in class org.osgl.http.H.Response<UndertowResponse>protected void _setLocale(java.util.Locale loc)
_setLocale in class org.osgl.http.H.Response<UndertowResponse>public java.util.Locale locale()
locale in class org.osgl.http.H.Response<UndertowResponse>public void commit()
commit in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse header(java.lang.String name, java.lang.String value)
header in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse status(int sc)
status in class org.osgl.http.H.Response<UndertowResponse>public UndertowResponse addHeader(java.lang.String name, java.lang.String value)
addHeader in class org.osgl.http.H.Response<UndertowResponse>public void closeStreamAndWriter()
public void freeResources()
Copyright © 2014–2017 ActFramework. All rights reserved.