Class BlockingTestController
- java.lang.Object
-
- com.github.fmjsjx.libnetty.example.http.server.BlockingTestController
-
public class BlockingTestController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BlockingTestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetError(java.util.OptionalInt test)java.lang.ObjectgetJsons(io.netty.handler.codec.http.QueryStringDecoder query)voidgetNoContent(io.netty.handler.codec.http.QueryStringDecoder query)java.lang.CharSequencegetOK(io.netty.handler.codec.http.QueryStringDecoder query)java.lang.ObjectpostEcho(com.github.fmjsjx.libnetty.http.server.HttpRequestContext ctx, com.fasterxml.jackson.databind.JsonNode value)
-
-
-
Method Detail
-
getJsons
public java.lang.Object getJsons(io.netty.handler.codec.http.QueryStringDecoder query)
-
postEcho
public java.lang.Object postEcho(com.github.fmjsjx.libnetty.http.server.HttpRequestContext ctx, com.fasterxml.jackson.databind.JsonNode value)
-
getNoContent
public void getNoContent(io.netty.handler.codec.http.QueryStringDecoder query)
-
getOK
public java.lang.CharSequence getOK(io.netty.handler.codec.http.QueryStringDecoder query)
-
getError
public void getError(java.util.OptionalInt test) throws java.lang.Exception- Throws:
java.lang.Exception
-
-