Apache CXF:RequestHandler.handleRequestのMessageの値
すぐ忘れるのでメモ
for (Entry<String, Object> m : message.entrySet()) { System.out.println(m.getKey()+":"); System.out.println(" "+String.valueOf(m.getValue())); }
した結果が↓
org.apache.cxf.message.Message.PROTOCOL_HEADERS: {Accept=[*/*], accept-encoding=[gzip,deflate,sdch], accept-language=[ja,en-US;q=0.8,en;q=0.6], cache-control=[no-cache], connection=[keep-alive], Content-Length=[999], content-type=[multipart/form-data; host=[example.com], user-agent=[Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML,like Gecko) Chrome/26.0.1410.64 Safari/537.31]} path_to_match_slash: /v1/service/method HTTP_CONTEXT_MATCH_STRATEGY: stem http.service.redirection: null org.apache.cxf.request.url: http://example.com/example-services/v1/service/method org.apache.cxf.request.uri: /example-service/v1/service/method org.apache.cxf.resource.method: public javax.ws.rs.core.Response com.example.api.service.v1.impl.exapmleMethod(java.lang.String,java.lang.String) HTTP.REQUEST: org.apache.catalina.connector.RequestFacade@176f3f86 HTTP.CONFIG: org.apache.catalina.core.StandardWrapperFacade@8b3826f org.apache.cxf.transport.https.CertConstraints: null Accept: */* org.apache.cxf.message.Message.PATH_INFO: /example-service/v1/service/method org.apache.cxf.message.Message.BASE_PATH: /example-service/ org.apache.cxf.message.Message.IN_INTERCEPTORS: [org.apache.cxf.transport.https.CertConstraintsInterceptor@413849df] org.apache.cxf.message.Message.QUERY_STRING: accesskey=xxxxxxxxxxxxxxxxx&token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP.RESPONSE: org.apache.catalina.connector.ResponseFacade@5679f0ec org.apache.cxf.security.SecurityContext: org.apache.cxf.transport.http.AbstractHTTPDestination$2@5fb8424e org.apache.cxf.request.method: DELETE org.apache.cxf.async.post.response.dispatch: true org.apache.cxf.configuration.security.AuthorizationPolicy: null org.apache.cxf.message.MessageFIXED_PARAMETER_ORDER: false org.apache.cxf.transport.Destination: org.apache.cxf.transport.servlet.ServletDestination@3a093ffa http.base.path: http://example.com/example-service Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryhogehoge org.apache.catalina.core.ApplicationContextFacade@354753da jaxrs.template.parameters: {FINAL_MATCH_GROUP=[/]}