Class RedirectSlice

java.lang.Object
com.artipie.pypi.http.RedirectSlice
All Implemented Interfaces:
com.artipie.http.Slice

public final class RedirectSlice extends Object implements com.artipie.http.Slice
Slice to redirect to normalized url.
Since:
0.6
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.artipie.http.Slice

    com.artipie.http.Slice.Wrap
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.artipie.http.Response
    response(com.artipie.http.rq.RequestLine line, com.artipie.http.Headers headers, Content body)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RedirectSlice

      public RedirectSlice()
  • Method Details

    • response

      public com.artipie.http.Response response(com.artipie.http.rq.RequestLine line, com.artipie.http.Headers headers, Content body)
      Specified by:
      response in interface com.artipie.http.Slice