public abstract class AbstractJaxRSResource extends Object
Modifier and Type | Field and Description |
---|---|
protected List<javax.ws.rs.core.MediaType> |
acceptableMediaTypes |
protected javax.servlet.http.HttpServletRequest |
httpServletRequest |
protected javax.servlet.http.HttpServletResponse |
httpServletResponse |
static String |
TEXT_HTML
Quality of service set high to overcome bad Accept header precedence in Webkit and IE browsers.
|
Constructor and Description |
---|
AbstractJaxRSResource() |
Modifier and Type | Method and Description |
---|---|
void |
setHttpHeaders(javax.ws.rs.core.HttpHeaders httpHeaders) |
public static final String TEXT_HTML
protected List<javax.ws.rs.core.MediaType> acceptableMediaTypes
@Context protected javax.servlet.http.HttpServletRequest httpServletRequest
@Context protected javax.servlet.http.HttpServletResponse httpServletResponse
Copyright © 2021 Hitachi Vantara. All rights reserved.