org.apache.jmeter.protocol.http.proxy
Class HttpReplyHdr
public final class HttpReplyHdr
Utility class to generate HTTP responses of various types.
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 responce 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 | formUnautorized() - Client not otherized for the request.
|
formAccepted
public static String formAccepted()
Indicates the document was accepted.
formCreated
public static String formCreated()
Indicates a new file was created.
formForbidden
public static String formForbidden()
Client if forbidden to get the request service.
formFound
public static String formFound()
Never seen this used.
formInternalError
public static String formInternalError()
The server had a problem and could not fulfill the request.
formMethod
public static String formMethod()
The requested method is not implemented by the server.
formMoved
public static String formMoved()
Indicates a requested URL has moved to a new address or name.
formNotAllowed
public static String formNotAllowed()
Indicates the client is not allowed to access the object.
formNotFound
public static String formNotFound()
The requested object was not found.
formNotImplemented
public static String formNotImplemented()
Server does not do the requested feature.
formNotImplemented
public static String formNotImplemented(String reason)
Server does not do the requested feature.
reason
- detailed information for causing the failure
formNotModified
public static String formNotModified()
Indicates remote copy of the requested object is current.
formOk
public static String formOk(String contentType,
long contentLength)
Forms a http ok reply header
contentType
- the mime-type of the contentcontentLength
- the length of the content
- a string with the header in it
formOverloaded
public static String formOverloaded()
Server is overloaded, client should try again latter.
formPartial
public static String formPartial()
Indicates only a partial responce was sent.
formPaymentNeeded
public static String formPaymentNeeded()
Payment is required for service.
formServerNotFound
public static String formServerNotFound()
Indicates the client's proxies could not locate a server.
formTimeout
public static String formTimeout()
Indicates the request took to long.
formUnautorized
public static String formUnautorized()
Client not otherized for the request.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.