Class ErrorResponse.Simple<T>

java.lang.Object
com.mastfrog.acteur.errors.ErrorResponse.Simple<T>
Type Parameters:
T -
All Implemented Interfaces:
ErrorResponse
Enclosing interface:
ErrorResponse

@Deprecated public static class ErrorResponse.Simple<T> extends Object implements ErrorResponse
Deprecated.
Use ErrorResponse.create() instead.
Simple error response.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.mastfrog.acteur.errors.ErrorResponse

    ErrorResponse.Simple<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final T
    Deprecated.
     
    final io.netty.handler.codec.http.HttpResponseStatus
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Simple(io.netty.handler.codec.http.HttpResponseStatus status, T message)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    io.netty.handler.codec.http.HttpResponseStatus
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.mastfrog.acteur.errors.ErrorResponse

    headers
  • Field Details

    • status

      public final io.netty.handler.codec.http.HttpResponseStatus status
      Deprecated.
    • message

      public final T message
      Deprecated.
  • Constructor Details

    • Simple

      public Simple(io.netty.handler.codec.http.HttpResponseStatus status, T message)
      Deprecated.
  • Method Details