Java com.google.gwt.user.server.rpc RPCServletUtils fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.server.rpc RPCServletUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.server.rpc RPCServletUtils.

The text is from its open source code.

Method

booleanacceptsGzipEncoding(HttpServletRequest request)
Returns true if the HttpServletRequest accepts Gzip encoding.
booleanexceedsUncompressedContentLengthLimit(String content)
Returns true if the response content's estimated UTF-8 byte length exceeds 256 bytes.
booleanisExpectedException(Method serviceIntfMethod, Throwable cause)
Returns true if the java.lang.reflect.Method Method definition on the service is specified to throw the exception contained in the InvocationTargetException or false otherwise.
StringreadContent(HttpServletRequest request, String expectedContentType, String expectedCharSet)
Returns the content of an HttpServletRequest by decoding it using expectedCharSet, or UTF-8 if expectedCharSet is null.
StringreadContentAsGwtRpc(HttpServletRequest request)
Returns the content of an HttpServletRequest , after verifying a gwt/x-gwt-rpc; charset=utf-8 content type.
StringreadContentAsUtf8(HttpServletRequest request, boolean checkHeaders)
Returns the content of an HttpServletRequest by decoding it using the UTF-8 charset.
StringreadContentAsUtf8(HttpServletRequest request)
Returns the content of an HttpServletRequest by decoding it using the UTF-8 charset.
voidwriteResponse(ServletContext servletContext, HttpServletResponse response, String responseContent, boolean gzipResponse)
Write the response content into the HttpServletResponse .
voidwriteResponseForUnexpectedFailure(ServletContext servletContext, HttpServletResponse response, Throwable failure)
Called when the servlet itself has a problem, rather than the invoked third-party method.