Interface RestResponseEvent

  • All Superinterfaces:
    org.refcodes.mixin.ActionAccessor<org.refcodes.net.HttpStatusCode>, org.refcodes.mixin.Dumpable, org.refcodes.observer.GenericActionEvent<org.refcodes.net.HttpStatusCode,RestServer>, org.refcodes.observer.GenericEvent<org.refcodes.net.HttpStatusCode>, org.refcodes.net.HeaderFieldsAccessor<org.refcodes.net.HttpStatusCode>, org.refcodes.net.HttpBodyAccessor, org.refcodes.net.HttpClientResponse, org.refcodes.net.HttpInputStreamAccessor, org.refcodes.net.HttpResponse, org.refcodes.net.HttpStatusCodeAccessor, org.refcodes.net.LocalAddressAccessor, org.refcodes.net.RemoteAddressAccessor, RestResponse, org.refcodes.mixin.SourceAccessor<org.refcodes.net.HttpStatusCode>
    All Known Implementing Classes:
    RestResponseEventImpl


    public interface RestResponseEvent
    extends org.refcodes.observer.GenericActionEvent<org.refcodes.net.HttpStatusCode,RestServer>, RestResponse, org.refcodes.mixin.Dumpable
    Defines a RestResponseEvent being the response as consumed by a RestCaller's RestResponseObserver. Usually you will use RestRequestClient.doRequest(HttpMethod, String, RestResponseObserver) or the like for registering a RestResponseObserver to the RestClient (HttpRestClient).
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

        org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.net.HeaderFieldsAccessor

        org.refcodes.net.HeaderFieldsAccessor.HeaderFieldsBuilder<T extends org.refcodes.net.HeaderFields<?,?>,B extends org.refcodes.net.HeaderFieldsAccessor.HeaderFieldsBuilder<T,B>>, org.refcodes.net.HeaderFieldsAccessor.HeaderFieldsMutator<T extends org.refcodes.net.HeaderFields<?,?>>, org.refcodes.net.HeaderFieldsAccessor.HeaderFieldsProperty<T extends org.refcodes.net.HeaderFields<?,?>>
      • Nested classes/interfaces inherited from interface org.refcodes.net.HttpBodyAccessor

        org.refcodes.net.HttpBodyAccessor.HttpBodyBuilder<B extends org.refcodes.net.HttpBodyAccessor.HttpBodyBuilder<B>>, org.refcodes.net.HttpBodyAccessor.HttpBodyMutator, org.refcodes.net.HttpBodyAccessor.HttpBodyProperty, org.refcodes.net.HttpBodyAccessor.HttpBodyProvider<EXC extends java.lang.Exception>
      • Nested classes/interfaces inherited from interface org.refcodes.net.HttpInputStreamAccessor

        org.refcodes.net.HttpInputStreamAccessor.HttpInputStreamBuilder<B extends org.refcodes.net.HttpInputStreamAccessor.HttpInputStreamBuilder<B>>, org.refcodes.net.HttpInputStreamAccessor.HttpInputStreamMutator, org.refcodes.net.HttpInputStreamAccessor.HttpInputStreamProperty, org.refcodes.net.HttpInputStreamAccessor.HttpInputStreamProvider<EXC extends java.lang.Exception>
      • Nested classes/interfaces inherited from interface org.refcodes.net.HttpStatusCodeAccessor

        org.refcodes.net.HttpStatusCodeAccessor.HttpStatusCodeBuilder<B extends org.refcodes.net.HttpStatusCodeAccessor.HttpStatusCodeBuilder<B>>, org.refcodes.net.HttpStatusCodeAccessor.HttpStatusCodeMutator, org.refcodes.net.HttpStatusCodeAccessor.HttpStatusCodeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.net.LocalAddressAccessor

        org.refcodes.net.LocalAddressAccessor.LocalAddressBuilder<B extends org.refcodes.net.LocalAddressAccessor.LocalAddressBuilder<B>>, org.refcodes.net.LocalAddressAccessor.LocalAddressMutator, org.refcodes.net.LocalAddressAccessor.LocalAddressProperty
      • Nested classes/interfaces inherited from interface org.refcodes.net.RemoteAddressAccessor

        org.refcodes.net.RemoteAddressAccessor.RemoteAddressBuilder<B extends org.refcodes.net.RemoteAddressAccessor.RemoteAddressBuilder<B>>, org.refcodes.net.RemoteAddressAccessor.RemoteAddressMutator, org.refcodes.net.RemoteAddressAccessor.RemoteAddressProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default org.refcodes.net.HttpStatusCode getAction​()
      • Methods inherited from interface org.refcodes.mixin.Dumpable

        toDump, toDump, toPrintable
      • Methods inherited from interface org.refcodes.net.HeaderFieldsAccessor

        getHeaderFields
      • Methods inherited from interface org.refcodes.net.HttpBodyAccessor

        getHttpBody
      • Methods inherited from interface org.refcodes.net.HttpClientResponse

        getResponse, getResponse
      • Methods inherited from interface org.refcodes.net.HttpInputStreamAccessor

        getHttpInputStream
      • Methods inherited from interface org.refcodes.net.HttpStatusCodeAccessor

        getHttpStatusCode
      • Methods inherited from interface org.refcodes.net.LocalAddressAccessor

        getLocalAddress
      • Methods inherited from interface org.refcodes.net.RemoteAddressAccessor

        getRemoteAddress
      • Methods inherited from interface org.refcodes.mixin.SourceAccessor

        getSource
    • Method Detail

      • getAction

        default org.refcodes.net.HttpStatusCode getAction​()
        Specified by:
        getAction in interface org.refcodes.mixin.ActionAccessor<org.refcodes.net.HttpStatusCode>