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