public class Created extends Result
Result.Payload| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp) |
boolean |
equals(Object obj) |
protected String |
etag() |
Created |
etag(String etag) |
protected String |
location() |
Created |
location(String location) |
static Created |
of(String location)
Deprecated.
|
String |
toString() |
static Created |
withEtag(String etag) |
static Created |
withLocation(String location) |
addCookie, addHeader, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyMessage, applyStatus, clearThreadLocals, header, payload, status, status, statusCode, timestamp, touchPayloaddoFillInStackTrace, fillInStackTraceaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final Created INSTANCE
public Created(String resourceGetUrl)
protected String etag()
protected String location()
public void apply(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp)
@Deprecated public static Created of(String location)
This method is deprecated. Please use withLocation(String) instead
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.