object HttpMethodOverrider
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpMethodOverrider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final case class FormOverrideStrategy[F[_], G[_]](fieldName: String, naturalTransformation: ~>[G, F]) extends OverrideStrategy[F, G] with Product with Serializable
- final case class HeaderOverrideStrategy[F[_], G[_]](headerName: CIString) extends OverrideStrategy[F, G] with Product with Serializable
-
class
HttpMethodOverriderConfig[F[_], G[_]] extends AnyRef
HttpMethodOverrider middleware config options.
- sealed trait OverrideStrategy[F[_], G[_]] extends AnyRef
- final case class QueryOverrideStrategy[F[_], G[_]](paramName: String) extends OverrideStrategy[F, G] with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[F[_], G[_]](http: Http[F, G], config: HttpMethodOverriderConfig[F, G])(implicit F: Monad[F], S: Concurrent[G]): Http[F, G]
Simple middleware for HTTP Method Override.
Simple middleware for HTTP Method Override.
This middleware lets you use HTTP verbs such as PUT or DELETE in places where the client doesn't support it. Camouflage your request with another HTTP verb(usually POST) and sneak the desired one using a custom header or request parameter. The middleware will override the original verb with the new one for you, allowing the request the be dispatched properly.
- http
Http to transform
- config
http method overrider config
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def defaultConfig[F[_], G[_]]: HttpMethodOverriderConfig[F, G]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val overriddenMethodAttrKey: Key[Method]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object HttpMethodOverriderConfig