public class HessianServiceExporter extends HessianExporter implements HttpRequestHandler
Note: Spring also provides an alternative version of this exporter,
for Sun's JRE 1.6 HTTP server: SimpleHessianServiceExporter.
Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above.
Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved.
HessianClientInterceptor,
HessianProxyFactoryBean,
HttpInvokerServiceExporter,
RmiServiceExporterCONTENT_TYPE_HESSIANlogger| Constructor and Description |
|---|
HessianServiceExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(HttpServletRequest request,
HttpServletResponse response)
Processes the incoming Hessian request and creates a Hessian response.
|
afterPropertiesSet, doInvoke, invoke, prepare, setAllowNonSerializable, setDebug, setRemoteResolver, setSendCollectionType, setSerializerFactorycheckService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterfacegetBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoaderpublic void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
handleRequest in interface HttpRequestHandlerrequest - current HTTP requestresponse - current HTTP responseServletException - in case of general errorsIOException - in case of I/O errors