Package org.swisspush.gateleen.core.http
Class DummyHttpServerRequest
- java.lang.Object
-
- io.vertx.core.http.impl.HttpServerRequestInternal
-
- org.swisspush.gateleen.core.http.FastFailHttpServerRequest
-
- org.swisspush.gateleen.core.http.DummyHttpServerRequest
-
- All Implemented Interfaces:
io.vertx.core.http.HttpServerRequest,io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>,io.vertx.core.streams.StreamBase
public class DummyHttpServerRequest extends FastFailHttpServerRequest
Dummy class implementingHttpServerRequest. Override this class for your needs.- Author:
- https://github.com/mcweba [Marc-Andre Weber]
-
-
Constructor Summary
Constructors Constructor Description DummyHttpServerRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.net.HostAndPortauthority()StringgetHeader(String headerName)StringgetParam(String paramName)StringgetParamsCharset()booleanisSSL()io.vertx.core.MultiMapparams()X509Certificate[]peerCertificateChain()io.vertx.core.http.HttpServerRequestsetParamsCharset(String charset)-
Methods inherited from class org.swisspush.gateleen.core.http.FastFailHttpServerRequest
absoluteURI, body, bytesRead, connection, context, cookies, cookies, customFrameHandler, decoderResult, end, endHandler, exceptionHandler, fetch, formAttributes, getCookie, getCookie, getFormAttribute, getHeader, handler, headers, host, isEnded, isExpectMultipart, localAddress, method, metric, netSocket, path, pause, query, rawMethod, remoteAddress, response, resume, scheme, setExpectMultipart, sslSession, streamPriorityHandler, toNetSocket, toWebSocket, upgrade, uploadHandler, uri, version
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
isSSL
public boolean isSSL()
- Specified by:
isSSLin interfaceio.vertx.core.http.HttpServerRequest- Overrides:
isSSLin classFastFailHttpServerRequest
-
authority
public io.vertx.core.net.HostAndPort authority()
-
getHeader
public String getHeader(String headerName)
- Specified by:
getHeaderin interfaceio.vertx.core.http.HttpServerRequest- Overrides:
getHeaderin classFastFailHttpServerRequest
-
setParamsCharset
public io.vertx.core.http.HttpServerRequest setParamsCharset(String charset)
-
getParamsCharset
public String getParamsCharset()
-
params
public io.vertx.core.MultiMap params()
- Specified by:
paramsin interfaceio.vertx.core.http.HttpServerRequest- Overrides:
paramsin classFastFailHttpServerRequest
-
getParam
public String getParam(String paramName)
- Specified by:
getParamin interfaceio.vertx.core.http.HttpServerRequest- Overrides:
getParamin classFastFailHttpServerRequest
-
peerCertificateChain
public X509Certificate[] peerCertificateChain() throws SSLPeerUnverifiedException
- Specified by:
peerCertificateChainin interfaceio.vertx.core.http.HttpServerRequest- Overrides:
peerCertificateChainin classFastFailHttpServerRequest- Throws:
SSLPeerUnverifiedException
-
-