@MessageBundle(projectCode="JBAS")
public interface HttpServerMessages
| Modifier and Type | Field and Description |
|---|---|
static HttpServerMessages |
MESSAGES
The messages.
|
| Modifier and Type | Method and Description |
|---|---|
IllegalStateException |
callbackRejected(Throwable cause)
Creates an exception indicating the callback was rejected by the handler.
|
RuntimeException |
failedReadingResource(Throwable cause,
String resource)
Creates an exception indicating a failure to read the resource.
|
RuntimeException |
invalidAuthorizationHeader()
Creates an exception indicating the authorization header is invalid.
|
IllegalStateException |
invalidCallbackHandler()
Creates an exception indicating the callback handler is not suitable for Digest authentication.
|
IllegalArgumentException |
invalidContentType()
Creates an exception indicating no content type was provided.
|
IllegalArgumentException |
invalidContentType(String type)
Creates an exception indicating an invalid content type was provided.
|
IllegalArgumentException |
invalidDeployment()
Creates an exception indicating the request did not contain a deployment.
|
IllegalArgumentException |
invalidOperation(Throwable cause,
String value)
Creates an exception indicating the operation, represented by the
value parameter, is invalid. |
String |
invalidResource()
A message indicating the resource is invalid.
|
IllegalStateException |
md5Unavailable(Throwable cause)
Creates an exception indicating the inability to perform digest validation as MD5 is unavailable.
|
IllegalArgumentException |
missingClosingQuote(String key)
Creates an exception indicating a closing quote could not be found for the header entry, represented by the
key parameter. |
String |
realmReadinessFilter()
The description for the
RealmReadinessFilter. |
String |
subjectAssociationFilter()
The description for the
SubjectAssociationHandler. |
String |
trailingSlashFilterDescription()
The description for the
TrailingSlashFilter. |
IllegalArgumentException |
unexpectedHeaderChar(String dropping,
String key)
Creates an exception indicating that unexpected characters are being drop from the header.
|
static final HttpServerMessages MESSAGES
@Message(id=15120,
value="Callback rejected by handler.")
IllegalStateException callbackRejected(@Cause
Throwable cause)
cause - the cause of the error.IllegalStateException for the error.@Message(id=15121,
value="Failed to read %s")
RuntimeException failedReadingResource(@Cause
Throwable cause,
String resource)
cause - the cause of the error.resource - the resource.RuntimeException for the error.@Message(id=15122,
value="Invalid \'Authorization\' header.")
RuntimeException invalidAuthorizationHeader()
RuntimeException for the error.@Message(id=15123,
value="CallbackHandler not suitable for Digest authentication.")
IllegalStateException invalidCallbackHandler()
IllegalStateException for the error.@Message(id=15124,
value="No content type provided")
IllegalArgumentException invalidContentType()
IllegalArgumentException for the error.@Message(id=15125,
value="Invalid content type provided: %s")
IllegalArgumentException invalidContentType(String type)
type - the invalid type.IllegalArgumentException for the error.@Message(id=15126,
value="Request did not contain a deployment")
IllegalArgumentException invalidDeployment()
IllegalArgumentException for the error.@Message(id=15127,
value="Invalid operation \'%s\'")
IllegalArgumentException invalidOperation(@Cause
Throwable cause,
String value)
value parameter, is invalid.cause - the cause of the error.value - the invalid operation.IllegalArgumentException for the error.@Message(id=15128,
value="Invalid resource")
String invalidResource()
@Message(id=15129,
value="Unable to perform digest validation as MD5 is unavailable.")
IllegalStateException md5Unavailable(@Cause
Throwable cause)
cause - the cause of the error.IllegalStateException for the error.@Message(id=15130,
value="Unable to find closing quote for %s")
IllegalArgumentException missingClosingQuote(String key)
key parameter.key - the header key.IllegalArgumentException for the error.@Message(value="Ensure all requests to the context have a trailing slash.") String trailingSlashFilterDescription()
TrailingSlashFilter.@Message(value="Redirect request to instructional page if the realm is not ready.") String realmReadinessFilter()
RealmReadinessFilter.@Message(value="Filter to ensure the Subject for the current request is associated.") String subjectAssociationFilter()
SubjectAssociationHandler.@Message(id=15131,
value="Unexpected characters being dropped from header \'%s\' for %s")
IllegalArgumentException unexpectedHeaderChar(String dropping,
String key)
dropping - the characters being dropped.key - the header key.IllegalArgumentException for the error.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.