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 3.0, this exporter requires Hessian 3.2 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
,
BurlapServiceExporter
,
HttpInvokerServiceExporter
,
RmiServiceExporter
CONTENT_TYPE_HESSIAN
logger
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, setDebug, setSendCollectionType, setSerializerFactory
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
handleRequest
in interface HttpRequestHandler
request
- current HTTP requestresponse
- current HTTP responseServletException
- in case of general errorsIOException
- in case of I/O errors