Package org.swisspush.gateleen.core.http
Class DummyHttpServerRequest
- java.lang.Object
-
- 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,FastFailHttpServerRequest
public class DummyHttpServerRequest extends Object implements FastFailHttpServerRequest
Dummy class implementingHttpServerRequest. Override this class for your needs.- Author:
- https://github.com/mcweba [Marc-Andre Weber]
-
-
Field Summary
-
Fields inherited from interface org.swisspush.gateleen.core.http.FastFailHttpServerRequest
msg
-
-
Constructor Summary
Constructors Constructor Description DummyHttpServerRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHeader(String headerName)booleanisSSL()X509Certificate[]peerCertificateChain()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.swisspush.gateleen.core.http.FastFailHttpServerRequest
absoluteURI, bytesRead, connection, customFrameHandler, endHandler, exceptionHandler, fetch, formAttributes, getFormAttribute, getHeader, getParam, handler, headers, host, isEnded, isExpectMultipart, localAddress, method, netSocket, params, path, pause, query, rawMethod, remoteAddress, response, resume, scheme, setExpectMultipart, sslSession, streamPriorityHandler, upgrade, uploadHandler, uri, version
-
-
-
-
Method Detail
-
isSSL
public boolean isSSL()
- Specified by:
isSSLin interfaceFastFailHttpServerRequest- Specified by:
isSSLin interfaceio.vertx.core.http.HttpServerRequest
-
getHeader
public String getHeader(String headerName)
- Specified by:
getHeaderin interfaceFastFailHttpServerRequest- Specified by:
getHeaderin interfaceio.vertx.core.http.HttpServerRequest
-
peerCertificateChain
public X509Certificate[] peerCertificateChain() throws SSLPeerUnverifiedException
- Specified by:
peerCertificateChainin interfaceFastFailHttpServerRequest- Specified by:
peerCertificateChainin interfaceio.vertx.core.http.HttpServerRequest- Throws:
SSLPeerUnverifiedException
-
-