# Uses of Class
org.apache.tapestry5.services.HttpStatus

Packages that use HttpStatus
Package
Description
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.services
Core services

- ## Uses of HttpStatus in org.apache.tapestry5.internal.services

  Methods in org.apache.tapestry5.internal.services with parameters of type HttpStatus
  Modifier and Type
  Method
  Description
  `void`
  HttpStatusComponentEventResultProcessor.`processResultValue(HttpStatus value)`

- ## Uses of HttpStatus in org.apache.tapestry5.services

  Methods in org.apache.tapestry5.services that return HttpStatus
  Modifier and Type
  Method
  Description
  `static HttpStatus`
  HttpStatus.`accepted()`
  Creates an instance with status code `202 Accepted`.
  `static HttpStatus`
  HttpStatus.`badRequest()`
  Creates an instance with status code `400 Bad Request`.
  `static HttpStatus`
  HttpStatus.`created()`
  Creates an instance with status code `201 Created`.
  `static HttpStatus`
  HttpStatus.`forbidden()`
  Creates an instance with status code `403 Forbidden`.
  `static HttpStatus`
  HttpStatus.`movedPermanently(String location)`
  Creates an instance with status code `301 Moved Permanently`.
  `static HttpStatus`
  HttpStatus.`movedPermanently(Link link)`
  Creates an instance with status code `301 Moved Permanently`.
  `static HttpStatus`
  HttpStatus.`notFound()`
  Creates an instance with status code `404 Not Found`.
  `static HttpStatus`
  HttpStatus.`ok()`
  Creates an instance with status code `200 OK`.
  `static HttpStatus`
  HttpStatus.`seeOther(String location)`
  Creates an instance with status code `303 See Other`.
  `static HttpStatus`
  HttpStatus.`seeOther(Link location)`
  Creates an instance with status code `303 See Also`.
  `static HttpStatus`
  HttpStatus.`temporaryRedirect(String location)`
  Creates an instance with status code `302 Found`.
  `static HttpStatus`
  HttpStatus.`temporaryRedirect(Link location)`
  Creates an instance with status code `302 Found`.
  `static HttpStatus`
  HttpStatus.`unauthorized()`
  Creates an instance with status code `401 Unauthorized`.
  `HttpStatus`
  HttpStatus.`withContentLocation(String location)`
  Sets the `Content-Location` HTTP header.
  `HttpStatus`
  HttpStatus.`withContentLocation(Link link)`
  Sets the `Content-Location` HTTP header.
  `HttpStatus`
  HttpStatus.`withHttpHeader(String name, String value)`
  Sets an HTTP header.
  `HttpStatus`
  HttpStatus.`withLocation(String location)`
  Sets a redirect by using the `Location` HTTP header.
  `HttpStatus`
  HttpStatus.`withLocation(Link location)`
  Sets a redirect by using the `Location` HTTP header.