Package | Description |
---|---|
io.stallion | |
io.stallion.monitoring | |
io.stallion.requests | |
io.stallion.restfulEndpoints | |
io.stallion.testing |
Modifier and Type | Method and Description |
---|---|
static StResponse |
Context.getResponse()
The current response, as stashed on a thread local variable.
|
static StResponse |
Context.response()
Alias for getResponse();
|
Modifier and Type | Method and Description |
---|---|
static void |
Context.setResponse(StResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
HealthTrackingHookHandler.handleRequest(StRequest request,
StResponse response) |
void |
HealthTracker.logResponse(StRequest request,
StResponse response) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyResponse |
Modifier and Type | Method and Description |
---|---|
StResponse |
StResponse.addHeader(String name,
String value) |
StResponse |
RequestInfoHolder.getResponse() |
StResponse |
StResponse.setContentType(String contentType) |
StResponse |
StResponse.setDateHeader(String name,
Long value) |
StResponse |
StResponse.setDefaultContentType(String contentType) |
StResponse |
StResponse.setStatus(int sc) |
Modifier and Type | Method and Description |
---|---|
static void |
XFrameOptionsHandler.handle(IRequest request,
StResponse response) |
void |
CorsResponseHandler.handleIfNecessary(IRequest request,
StResponse response) |
protected void |
CorsResponseHandler.handlePreflight(IRequest request,
StResponse response) |
abstract void |
PreRequestHookHandler.handleRequest(StRequest request,
StResponse response) |
abstract void |
PostRequestHookHandler.handleRequest(StRequest request,
StResponse response) |
protected void |
CorsResponseHandler.handleSimpleRequest(IRequest request,
StResponse response) |
void |
RequestHandler.handleStallionRequest(StRequest stRequest,
StResponse stResponse) |
RequestInfoHolder |
RequestInfoHolder.setResponse(StResponse response) |
Constructor and Description |
---|
SandboxedResponse(StResponse response) |
ServletFileSender(IRequest request,
StResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
XSRFHooks.handleRequest(StRequest request,
StResponse response) |
default void |
EndpointResource.postRequest(JavaRestEndpoint endpoint,
IRequest request,
StResponse response,
Object out) |
default void |
EndpointResource.preRequest(JavaRestEndpoint endpoint,
IRequest request,
StResponse response) |
Modifier and Type | Class and Description |
---|---|
class |
MockResponse<T> |
Modifier and Type | Method and Description |
---|---|
StResponse |
MockResponse.addHeader(String name,
String value) |
StResponse |
MockResponse.setContentType(String contentType) |
StResponse |
MockResponse.setDateHeader(String name,
Long value) |
StResponse |
MockResponse.setDefaultContentType(String contentType) |
StResponse |
MockResponse.setStatus(int sc) |
Copyright © 2016. All rights reserved.