public final class HttpReplyHdr extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formAccepted()
Indicates the document was accepted.
|
static String |
formCreated()
Indicates a new file was created.
|
static String |
formForbidden()
Client if forbidden to get the request service.
|
static String |
formFound()
Never seen this used.
|
static String |
formInternalError()
The server had a problem and could not fulfill the request.
|
static String |
formMethod()
The requested method is not implemented by the server.
|
static String |
formMoved()
Indicates a requested URL has moved to a new address or name.
|
static String |
formNotAllowed()
Indicates the client is not allowed to access the object.
|
static String |
formNotFound()
The requested object was not found.
|
static String |
formNotImplemented()
Server does not do the requested feature.
|
static String |
formNotImplemented(String reason)
Server does not do the requested feature.
|
static String |
formNotModified()
Indicates remote copy of the requested object is current.
|
static String |
formOk(String contentType,
long contentLength)
Forms a http ok reply header
|
static String |
formOverloaded()
Server is overloaded, client should try again latter.
|
static String |
formPartial()
Indicates only a partial response was sent.
|
static String |
formPaymentNeeded()
Payment is required for service.
|
static String |
formServerNotFound()
Indicates the client's proxies could not locate a server.
|
static String |
formTimeout()
Indicates the request took to long.
|
static String |
formUnauthorized()
Client not authorized for the request.
|
public static String formOk(String contentType, long contentLength)
contentType
- the mime-type of the contentcontentLength
- the length of the contentpublic static String formCreated()
public static String formAccepted()
public static String formPartial()
public static String formMoved()
public static String formFound()
public static String formMethod()
public static String formNotModified()
public static String formUnauthorized()
public static String formPaymentNeeded()
public static String formForbidden()
public static String formNotFound()
public static String formInternalError()
public static String formNotImplemented()
public static String formNotImplemented(String reason)
reason
- detailed information for causing the failurepublic static String formOverloaded()
public static String formTimeout()
public static String formServerNotFound()
public static String formNotAllowed()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.