Package ca.uqac.lif.cep.apache
Class HttpRequest.GetPath
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.functions.UnaryFunction<HttpRequest,java.lang.String>
-
- ca.uqac.lif.cep.apache.HttpRequest.GetPath
-
- All Implemented Interfaces:
ca.uqac.lif.azrael.Printable
,ca.uqac.lif.azrael.Readable
,ca.uqac.lif.cep.Duplicable
,ca.uqac.lif.cep.functions.DuplicableFunction
- Enclosing class:
- HttpRequest
public static class HttpRequest.GetPath extends ca.uqac.lif.cep.functions.UnaryFunction<HttpRequest,java.lang.String>
Function to get the path of an HTTP request
-
-
Field Summary
Fields Modifier and Type Field Description static HttpRequest.GetPath
instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue(HttpRequest request)
-
Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction
duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset
-
-
-
-
Field Detail
-
instance
public static final HttpRequest.GetPath instance
-
-
Method Detail
-
getValue
public java.lang.String getValue(HttpRequest request)
- Specified by:
getValue
in classca.uqac.lif.cep.functions.UnaryFunction<HttpRequest,java.lang.String>
-
-