# Uses of Class
org.apache.struts2.result.plain.ResponseBuilder

Packages that use ResponseBuilder
Package
Description
org.apache.struts2.result
org.apache.struts2.result.plain

- ## Uses of ResponseBuilder in org.apache.struts2.result

  Methods in org.apache.struts2.result with parameters of type ResponseBuilder
  Modifier and Type
  Method
  Description
  `void`
  PlainResult.`write(ResponseBuilder response)`
  Implement this method in action using lambdas

- ## Uses of ResponseBuilder in org.apache.struts2.result.plain

  Methods in org.apache.struts2.result.plain that return ResponseBuilder
  Modifier and Type
  Method
  Description
  `ResponseBuilder`
  ResponseBuilder.`withContentType(String contentType)`
  `ResponseBuilder`
  ResponseBuilder.`withContentTypeJson()`
  `ResponseBuilder`
  ResponseBuilder.`withContentTypeTextHtml()`
  `ResponseBuilder`
  ResponseBuilder.`withContentTypeTextPlain()`
  `ResponseBuilder`
  ResponseBuilder.`withCookie(String name, String value)`
  `ResponseBuilder`
  ResponseBuilder.`withHeader(String name, Integer value)`
  `ResponseBuilder`
  ResponseBuilder.`withHeader(String name, Long value)`
  `ResponseBuilder`
  ResponseBuilder.`withHeader(String name, String value)`
  `ResponseBuilder`
  ResponseBuilder.`write(String out)`
  `ResponseBuilder`
  ResponseBuilder.`writeLine(String out)`