public class SandboxedResponse extends Object
Constructor and Description |
---|
SandboxedResponse(StResponse response) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.Cookie |
addCookie(javax.servlet.http.Cookie cookie) |
javax.servlet.http.Cookie |
addCookie(String name,
String value) |
javax.servlet.http.Cookie |
addCookie(String name,
String value,
int maxAge) |
SandboxedResponse |
addHeader(String name,
String value) |
int |
getStatus() |
SandboxedResponse |
setContentType(String contentType) |
SandboxedResponse |
setStatus(int sc) |
public SandboxedResponse(StResponse response)
public SandboxedResponse setContentType(String contentType)
public int getStatus()
public SandboxedResponse setStatus(int sc)
public SandboxedResponse addHeader(String name, String value)
public javax.servlet.http.Cookie addCookie(javax.servlet.http.Cookie cookie)
Copyright © 2016. All rights reserved.