|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.deli.UAProfCreateHttpResponse
This class adds the x-wap-profile-warning header.
Field Summary | |
static int |
CONTENT_GENERATION_APPLIED
MUST be included if the content has been tailored or generated as a result of applying the included profile. |
static int |
CONTENT_SELECTION_APPLIED
MUST be included if the included content has been selected from one of the representations available. |
static int |
NOT_APPLIED
This value MUST be included if the content has not been tailored, and is sent in a representation which is the only representaiton available in the server. |
static int |
NOT_SUPPORTED
Indicates that the entity sending this warning code does not support UAProf. |
static int |
TRANSFORMATION_APPLIED
MUST be added by an intermediate proxy if it applies any transformation changing the content-coding based on the CPI data. |
Method Summary | |
static javax.servlet.http.HttpServletResponse |
addWarningHeader(javax.servlet.http.HttpServletResponse res,
int warning)
This method adds the x-wap-profile-warning header to the response header. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NOT_APPLIED
public static final int CONTENT_SELECTION_APPLIED
public static final int CONTENT_GENERATION_APPLIED
public static final int TRANSFORMATION_APPLIED
public static final int NOT_SUPPORTED
Method Detail |
public static javax.servlet.http.HttpServletResponse addWarningHeader(javax.servlet.http.HttpServletResponse res, int warning)
res
- The HttpServletResponse object.warning
- The warning code.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |