Tabnine Logo
StaxOutInterceptor.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.cxf.interceptor.StaxOutInterceptor
constructor

Best Java code snippets using org.apache.cxf.interceptor.StaxOutInterceptor.<init> (Showing top 12 results out of 315)

origin: org.apache.servicemix/servicemix-cxf-bc

private void checkWSRMInterceptors() {
  //to handle WS-RM requests and responses
  for (Interceptor interceptor : getBus().getOutInterceptors()) {
    if (interceptor.getClass().getName().equals("org.apache.cxf.ws.rm.RMOutInterceptor")) {
      ep.getOutInterceptors().add(new SoapOutInterceptor(getBus()));
      ep.getOutInterceptors().add(new StaxOutInterceptor());
      ep.getInInterceptors().add(new StaxInInterceptor());
      ep.getInInterceptors().add(new ReadHeadersInterceptor(getBus()));
      break;
    }
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public Binding createBinding(BindingInfo bi) {
  XMLBinding binding = new XMLBinding(bi);
  binding.getInInterceptors().add(new JAXRSInInterceptor());
  
  binding.getOutInterceptors().add(new JAXRSOutInterceptor());
  
  binding.getOutFaultInterceptors().add(new XMLFaultOutInterceptor());
  binding.getOutFaultInterceptors().add(new StaxOutInterceptor());
  return binding;
}
origin: org.apache.servicemix.cxf/org.apache.servicemix.cxf.binding.nmr

public Binding createBinding(BindingInfo binding) {
  NMRBinding jb = new NMRBinding((NMRBindingInfo) binding);
  jb.getInInterceptors().add(new StaxInInterceptor());
  jb.getInInterceptors().add(new NMROperationInInterceptor());
  jb.getInInterceptors().add(new NMRWrapperInInterceptor());
  jb.getOutInterceptors().add(new StaxOutInterceptor());
  jb.getOutInterceptors().add(new NMRWrapperOutInterceptor());
  jb.getOutFaultInterceptors().add(new StaxOutInterceptor());
  jb.getOutFaultInterceptors().add(new NMRFaultOutInterceptor());
  
  jb.getInFaultInterceptors().add(new NMRFaultInInterceptor());
  return jb;
}
origin: apache/cxf

public Binding createBinding(BindingInfo binding) {
  XMLBinding xb = new XMLBinding(binding);
  xb.getInInterceptors().add(new AttachmentInInterceptor());
  xb.getInInterceptors().add(new StaxInInterceptor());
  xb.getInInterceptors().add(new DocLiteralInInterceptor());
  xb.getInInterceptors().add(new XMLMessageInInterceptor());
  xb.getOutInterceptors().add(new AttachmentOutInterceptor());
  xb.getOutInterceptors().add(new StaxOutInterceptor());
  xb.getOutInterceptors().add(new WrappedOutInterceptor());
  xb.getOutInterceptors().add(new XMLMessageOutInterceptor());
  xb.getInFaultInterceptors().add(new XMLFaultInInterceptor());
  xb.getOutFaultInterceptors().add(new StaxOutInterceptor());
  xb.getOutFaultInterceptors().add(new XMLFaultOutInterceptor());
  return xb;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public Binding createBinding(BindingInfo binding) {
  XMLBinding xb = new XMLBinding(binding);
  
  xb.getInInterceptors().add(new AttachmentInInterceptor());    
  xb.getInInterceptors().add(new StaxInInterceptor());
  xb.getInInterceptors().add(new DocLiteralInInterceptor());
  xb.getInInterceptors().add(new XMLMessageInInterceptor());
  
  xb.getOutInterceptors().add(new AttachmentOutInterceptor());
  xb.getOutInterceptors().add(new StaxOutInterceptor());
  xb.getOutInterceptors().add(new WrappedOutInterceptor());
  xb.getOutInterceptors().add(new XMLMessageOutInterceptor());            
  xb.getInFaultInterceptors().add(new XMLFaultInInterceptor());
  xb.getOutFaultInterceptors().add(new StaxOutInterceptor());
  xb.getOutFaultInterceptors().add(new XMLFaultOutInterceptor());
  
  return xb;
} 

origin: org.apache.cxf/cxf-rt-bindings-http

public Binding createBinding(BindingInfo bi) {
  XMLBinding binding = new XMLBinding(bi);
  
  binding.getInInterceptors().add(new AttachmentInInterceptor());
  binding.getInInterceptors().add(new DatabindingInSetupInterceptor());
  binding.getOutInterceptors().add(new AttachmentOutInterceptor());
  binding.getOutInterceptors().add(new ContentTypeOutInterceptor());
  binding.getOutInterceptors().add(new DatabindingOutSetupInterceptor());
  
  binding.getInFaultInterceptors().add(new XMLFaultInInterceptor());
  
  binding.getOutFaultInterceptors().add(new ContentTypeOutInterceptor());
  binding.getOutFaultInterceptors().add(new StaxOutInterceptor());
  binding.getOutFaultInterceptors().add(new XMLFaultOutInterceptor());
  
  return binding;
}

origin: org.apache.servicemix/servicemix-cxf-se

public Binding createBinding(BindingInfo binding) {
  JBIBindingInfo bindingInfo = (JBIBindingInfo) binding;
  JBIBinding jb = new JBIBinding(bindingInfo);
  
  jb.getInInterceptors().add(new StaxInInterceptor());
  jb.getInInterceptors().add(new JBIOperationInInterceptor());
  jb.getInInterceptors().add(new JBIWrapperInInterceptor());
  jb.getOutInterceptors().add(new StaxOutInterceptor());
  jb.getOutInterceptors().add(new JBIWrapperOutInterceptor());
  jb.getOutFaultInterceptors().add(new StaxOutInterceptor());
  jb.getOutFaultInterceptors().add(new JBIFaultOutInterceptor());
  
  jb.getInFaultInterceptors().add(new JBIFaultInInterceptor());
  
  if (bindingInfo.getJBIBindingConfiguration().isMtomEnabled()) {
    jb.getInInterceptors().add(new AttachmentInInterceptor());
    jb.getOutInterceptors().add(new AttachmentOutInterceptor());
  }
  return jb;
}
origin: org.apache.servicemix/servicemix-cxf-bc

@Override
public void activate() throws Exception {
  super.activate();
  outList = new ArrayList<Interceptor<? extends Message>>();
  if (isMtomEnabled()) {
    outList.add(new JbiOutInterceptor());
    outList.add(new MtomCheckInterceptor(true));
    outList.add(new AttachmentOutInterceptor());
  }
  outList.add(new JbiOutInterceptor());
  if (isSchemaValidationEnabled()) {
    outList.add(new SchemaValidationOutInterceptor(isUseJBIWrapper(), isUseSOAPEnvelope()));
  }
  outList.add(new JbiOutWsdl1Interceptor(isUseJBIWrapper(), isUseSOAPEnvelope()));
  outList.add(new SoapPreProtocolOutInterceptor());
  outList.add(new SoapOutInterceptor(getBus()));
  outList.add(new StaxOutInterceptor());
}
origin: apache/cxf

sb.getOutFaultInterceptors().add(new StaxOutInterceptor());
sb.getOutFaultInterceptors().add(new SoapOutInterceptor(getBus()));
sb.getOutFaultInterceptors().add(new AttachmentOutInterceptor());
sb.getOutInterceptors().add(new StaxOutInterceptor());
sb.getOutInterceptors().add(SoapHeaderOutFilterInterceptor.INSTANCE);
origin: org.apache.cxf/cxf-rt-bindings-soap

sb.getOutFaultInterceptors().add(new StaxOutInterceptor());
sb.getOutFaultInterceptors().add(new SoapOutInterceptor(getBus()));
sb.getOutFaultInterceptors().add(new AttachmentOutInterceptor());
sb.getOutInterceptors().add(new StaxOutInterceptor());
sb.getOutInterceptors().add(SoapHeaderOutFilterInterceptor.INSTANCE);
origin: org.apache.servicemix/servicemix-cxf-bc

cxfService.getOutInterceptors().add(
    new MtomCheckInterceptor(isMtomEnabled()));
cxfService.getOutInterceptors().add(new StaxOutInterceptor());
ep.getOutInterceptors().add(new StaxOutInterceptor());
ep.getOutInterceptors().add(new SoapOutInterceptor(getBus()));
ep.putAll(this.getProperties());
origin: apache/cxf

new StaxOutInterceptor().handleMessage(message);
message.put(org.apache.cxf.message.Message.RESPONSE_CODE, f.getStatusCode());
NSStack nsStack = new NSStack();
org.apache.cxf.interceptorStaxOutInterceptor<init>

Popular methods of StaxOutInterceptor

  • addAfter
  • getEncoding
  • getXMLOutputFactory
  • setupOutputStream
  • handleMessage

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now